/**
  * This method should be invoked to avoid multiple instances being created on a single load
  *
  * @since	5.0
  * @access	public
  * @param	string
  * @return	
  */
 public static function getInstance($section = 'site')
 {
     if (is_null(self::$instance)) {
         self::$instance = new self($section);
     }
     return self::$instance;
 }
Exemple #2
0
 public static function getInstance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }