library/core/class.controller.php
public function MasterView() {
      // Define some default master views unless one was explicitly defined
      if ($this->MasterView == '') {
         // If this is a syndication request, use the appropriate master view
         if ($this->SyndicationMethod == SYNDICATION_ATOM)
            $this->MasterView = 'atom';
         else if ($this->SyndicationMethod == SYNDICATION_RSS)
            $this->MasterView = 'rss';
         else
            $this->MasterView = 'default'; // Otherwise go with the default
      }
      return $this->MasterView;
   }
public function MasterView() {
      // Define some default master views unless one was explicitly defined
      if ($this->MasterView == '') {
         // If this is a syndication request, use the appropriate master view
         if ($this->SyndicationMethod == SYNDICATION_ATOM)
            $this->MasterView = 'atom';
         else if ($this->SyndicationMethod == SYNDICATION_RSS)
            $this->MasterView = 'rss';
         else
            $this->MasterView = 'default'; // Otherwise go with the default
      }
      return $this->MasterView;
   }
public function MasterView ( ) { // Define some default master views unless one was explicitly defined if ( $ this -> MasterView == '' ) { // If this is a syndication request, use the appropriate master view if ( $ this -> SyndicationMethod == SYNDICATION_ATOM ) $ this -> MasterView = 'atom' ; else if ( $ this -> SyndicationMethod == SYNDICATION_RSS ) $ this -> MasterView = 'rss' ; else $ this -> MasterView = 'default' ; // Otherwise go with the default } return $ this -> MasterView ; }
Define & return the master view.
Define & return the master view .