Welcome Guest, Not a member yet? Register   Sign In
how to call a function of another class
#1

[eluser]Sumon[/eluser]
here are two simple classes
Code:
class A extends Controller {
public function FA1()
{
   // need to call B class FB1 function. how ?
}
}
class B extends Controller {
public function FB1()
{
   // some statements
}
}

how could i call FB1() from FA1() ?
Thanks in advance.


Messages In This Thread
how to call a function of another class - by El Forum - 10-02-2010, 02:55 PM
how to call a function of another class - by El Forum - 10-02-2010, 04:09 PM
how to call a function of another class - by El Forum - 10-02-2010, 06:25 PM
how to call a function of another class - by El Forum - 10-02-2010, 06:56 PM
how to call a function of another class - by El Forum - 10-02-2010, 11:56 PM
how to call a function of another class - by El Forum - 10-03-2010, 10:43 PM
how to call a function of another class - by El Forum - 10-03-2010, 10:48 PM
how to call a function of another class - by El Forum - 10-03-2010, 11:06 PM
how to call a function of another class - by El Forum - 10-03-2010, 11:31 PM
how to call a function of another class - by El Forum - 10-03-2010, 11:38 PM
how to call a function of another class - by El Forum - 10-03-2010, 11:43 PM
how to call a function of another class - by El Forum - 10-04-2010, 06:11 AM
how to call a function of another class - by El Forum - 10-04-2010, 09:00 AM
how to call a function of another class - by El Forum - 08-13-2011, 03:30 PM
how to call a function of another class - by El Forum - 08-13-2011, 04:06 PM
how to call a function of another class - by El Forum - 08-13-2011, 04:28 PM
how to call a function of another class - by El Forum - 08-13-2011, 05:59 PM
how to call a function of another class - by El Forum - 08-13-2011, 08:39 PM
how to call a function of another class - by El Forum - 08-14-2011, 11:27 AM
how to call a function of another class - by El Forum - 08-20-2011, 03:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB