Class naming conventions |
[eluser]wiredesignz[/eluser]
@CroNiX, '$this' has nothing to do with any singleton or even the CI super object (controller). Where do you guys get this stuff? '$this' refers to the current object context. In the controller it is the controller object, in a model it is the model object and in a library it is the library object. @deed02392, PHP will not allow two classes with the same class names to exist in the same namespace, it's that simple. It has nothing to do with object naming or even CodeIgniter. |
Messages In This Thread |
Class naming conventions - by El Forum - 07-19-2012, 05:06 AM
Class naming conventions - by El Forum - 07-19-2012, 05:47 AM
Class naming conventions - by El Forum - 07-19-2012, 03:42 PM
Class naming conventions - by El Forum - 07-19-2012, 04:28 PM
Class naming conventions - by El Forum - 07-19-2012, 05:51 PM
Class naming conventions - by El Forum - 07-19-2012, 08:48 PM
Class naming conventions - by El Forum - 07-19-2012, 11:32 PM
Class naming conventions - by El Forum - 07-20-2012, 07:45 AM
|