library/core/class.controller.php
public function PageName($Value = NULL) {
      if ($Value !== NULL) {
         $this->_PageName = $Value;
         return $Value;
      }

      if ($this->_PageName === NULL) {
         if ($this->ControllerName)
            $Name = $this->ControllerName;
         else
            $Name = get_class($this);
         $Name = strtolower($Name);
         
         if (StringEndsWith($Name, 'controller', FALSE))
            $Name = substr($Name, 0, -strlen('controller'));

         return $Name;
      } else {
         return $this->_PageName;
      }
   }
public function PageName($Value = NULL) {
      if ($Value !== NULL) {
         $this->_PageName = $Value;
         return $Value;
      }

      if ($this->_PageName === NULL) {
         if ($this->ControllerName)
            $Name = $this->ControllerName;
         else
            $Name = get_class($this);
         $Name = strtolower($Name);
         
         if (StringEndsWith($Name, 'controller', FALSE))
            $Name = substr($Name, 0, -strlen('controller'));

         return $Name;
      } else {
         return $this->_PageName;
      }
   }
public function PageName ( $ Value = NULL ) { if ( $ Value !== NULL ) { $ this -> _PageName = $ Value ; return $ Value ; } if ( $ this -> _PageName === NULL ) { if ( $ this -> ControllerName ) $ Name = $ this -> ControllerName ; else $ Name = get_class ( $ this ) ; $ Name = strtolower ( $ Name ) ; if ( StringEndsWith ( $ Name , 'controller' , FALSE ) ) $ Name = substr ( $ Name , 0 , - strlen ( 'controller' ) ) ; return $ Name ; } else { return $ this -> _PageName ; } }
Gets or sets the name of the page for the controller.
The page name is meant to be a friendly name suitable to be consumed by developers.

@param string|NULL $Value A new value to set.
Gets or sets the name of the page for the controller . The page name is meant to be a friendly name suitable to be consumed by developers .