示例#1
0
 /**
  * Class constructor
  * 
  * @param   string  The name of the section item
  * @return  void
  */
 public function __construct($name)
 {
     // Calls the parent constructor
     parent::__construct();
     // Stores the section name
     $this->_name = (string) $name;
 }
示例#2
0
 /**
  * Sets the needed static variables
  * 
  * @return  void
  */
 private static function _setStaticVars()
 {
     // Gets the instance of the string utilities
     self::$_str = Woops_String_Utils::getInstance();
     // Static variables are set
     self::$_hasStatic = true;
 }