Guest User

Untitled

a guest
Jul 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <?php
  2.  
  3. class PodcastPage extends Page {
  4.  
  5. ...
  6.  
  7. static public $PodcastsPerPage = "5";
  8.  
  9. public function setPodcastsPerPage($value){
  10. $this->PodcastsPerPage = $value;
  11. }
  12.  
  13. ...
  14.  
  15. }
  16.  
  17. class PodcastPage_Controller extends Page_Controller {
  18.  
  19. ...
  20.  
  21. function orderedEpisodes(){
  22.  
  23. $PodcastPageClass = new PodcastPage();
  24. $Limit = $PodcastPageClass->PodcastsPerPage;
  25. }
  26.  
  27. ...
  28.  
  29. }
  30.  
  31. ?>
Add Comment
Please, Sign In to add comment