Re: [PHP] stdClass - A newbie question

2009-07-30 Thread Shawn McKenzie
MEM wrote: >> By the way, there are many reasons for creating objects inside of other >> objects. This should not be considered an exception. I don't know where >> this code belongs to, so I can't clear out if it is good or bad OOP >> style. > > I do not intend to public judge the author, but the

RE: [PHP] stdClass - A newbie question

2009-07-30 Thread MEM
> By the way, there are many reasons for creating objects inside of other > objects. This should not be considered an exception. I don't know where > this code belongs to, so I can't clear out if it is good or bad OOP > style. I do not intend to public judge the author, but the original article is

AW: [PHP] stdClass - A newbie question

2009-07-30 Thread Bouz Alexander
erstag, 30. Juli 2009 12:21 An: php-general@lists.php.net Betreff: [PHP] stdClass - A newbie question Hello everybody, In this class sketch: total_pages = $total_pages; $pagi_obj->offset = $offset; $pagi_obj->limit = $limit; $pagi_obj->page; return $pagi_obj;

[PHP] stdClass - A newbie question

2009-07-30 Thread MEM
Hello everybody, In this class sketch: total_pages = $total_pages; $pagi_obj->offset = $offset; $pagi_obj->limit = $limit; $pagi_obj->page; return $pagi_obj; } } Why do the author used a stdClass ? What are the advantages of using