Welcome Guest, Not a member yet? Register   Sign In
Basic controller problem help
#2

[eluser]richthegeek[/eluser]
you are trying to call the general function "_myFunc()" rather than the method "Testme::_myFunc()"

To call the method from within its parent class, prepend the method name with $this->, like so:
Code:
$this->_myFunc();


Messages In This Thread
Basic controller problem help - by El Forum - 04-07-2008, 12:11 PM
Basic controller problem help - by El Forum - 04-07-2008, 12:17 PM
Basic controller problem help - by El Forum - 04-07-2008, 01:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB