What are the difference between $this->data->total_pages and $data['total_pages'] |
[eluser]danmontgomery[/eluser]
$this is the object in the context that it's being called used (as in "this" instance of the class), and you can only use $this in object methods. Code: class blog_object { http://php.net/manual/en/language.oop5.php |
Messages In This Thread |
What are the difference between $this->data->total_pages and $data['total_pages'] - by El Forum - 01-20-2010, 02:43 PM
What are the difference between $this->data->total_pages and $data['total_pages'] - by El Forum - 01-20-2010, 02:51 PM
What are the difference between $this->data->total_pages and $data['total_pages'] - by El Forum - 01-21-2010, 12:53 AM
What are the difference between $this->data->total_pages and $data['total_pages'] - by El Forum - 01-21-2010, 02:23 AM
What are the difference between $this->data->total_pages and $data['total_pages'] - by El Forum - 01-22-2010, 01:46 AM
|