$this and php

Little mistake on naming variable make me confuse for almost an hour. $this yes, $this is built-in variable that often use in OOP. By using $this, we refer to self referencing variable. More in php.net manual <?php class A { function foo() { if (isset($this)) { echo ‘$this is defined (‘; echo get_class($this); echo “)\n”; } else { echo “\$this is not defined.\n”; } } …

More

PHP OO tutorials

Best way to learn scripting / program is easy. Just write the code and see the result. With the progress of OOP approach in field recently for our team make its ‘hard’ to adapt such change in mindset : Procedural vs Object Oriented Programming With case codeiginter,  we must learn the basic of OOP in …

More