22881 Posts in 9904 Topics by 2805 members
|Go to End|
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?
31 March 2009 at 9:31am
You can just call $this->ID on the controller - it will automatically failover to the Page object.
|Go to Top|