21294 Posts in 5734 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 694 Views |
-
How to get $this->PageID ?

31 March 2009 at 6:13am
I have a function inside Page_Controller( .... function myFunction(...)) and I want the Id of the page in question. I tried $this->PageID but that of course tries to access the Page_controller when really I want it from Class Page()
Know what I mean?
-
Re: How to get $this->PageID ?

31 March 2009 at 9:31am
You can just call $this->ID on the controller - it will automatically failover to the Page object.
| 694 Views | ||
|
Page:
1
|
Go to Top |


