Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class PodcastPage extends Page {
- ...
- static public $PodcastsPerPage = "5";
- public function setPodcastsPerPage($value){
- $this->PodcastsPerPage = $value;
- }
- ...
- }
- class PodcastPage_Controller extends Page_Controller {
- ...
- function orderedEpisodes(){
- $PodcastPageClass = new PodcastPage();
- $Limit = $PodcastPageClass->PodcastsPerPage;
- }
- ...
- }
- ?>
Add Comment
Please, Sign In to add comment