Dear Experts
a search() define in every sub class and in the search() another 
function of sub class menu() is call like this:
 search()
{
//screen design in html
$this->menu();
//this is the different line in every subclass because menu() is 
//different in every sub class
//screen design in html
} how to use the menu() in search() because every subclass have menu() 
with different functionally.

e.g.

sub class A have 2 menu() which are menu1() & menu2() 

sub class B have 3 menu() which are menu1() , menu2() & menu3()

sub class C have 1 menu() which is menu1()
                

Because search() is repeat in all sub classes I want to move it on base 
class

so what are the changes required to move search() into base class and 
how to call search() in every subclass with different menu();

Imran Shafiq Khan


      

[Non-text portions of this message have been removed]

Reply via email to