hmm...
something else wrote:
im a noob at oop ..... how do you call for a function within a function within the same class ?
i still dont get the real advantages of using oop ....
depends what type are you calling , possibilities are ...{PHP}
$this->method();
self::method();
parent::method();
static::method();
ClassName::method();
readability
flexibility
reusability (it's hard to explain, will try .. )
but evil for small application
suppose , social network application is there with following functionality ,
picture_gallery.php
user_list.php
message.php
obviously pagination is required ,
then why not create an class with all commonly required method() rather than implementing it for every other
both are 👑 in own ways 😀 bla bla bla lecture over 😛
Don't think i am bad , i used to be too good one time...