Welcome Guest, Not a member yet? Register   Sign In
Referring to parent model instance.
#2

[eluser]Aken[/eluser]
Parent::method() doesn't necessarily mean that the method is static - you can use this just fine (CI uses it all over with the __construct() method). There's a perfect example of calling a parent method of the same name on PHP.net: http://www.php.net/manual/en/language.oop5.basic.php

If that doesn't help, post some of your code and explain what you're trying to do and what is actually happening.


Messages In This Thread
Referring to parent model instance. - by El Forum - 07-17-2012, 07:54 PM
Referring to parent model instance. - by El Forum - 07-17-2012, 08:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB