Beispiel #1
0
 /**
  * Default initialization method
  * @uses _init_passed
  * @uses _env()
  * @uses _options()
  * @uses _admin()
  * @uses _hooks()
  * @uses _client_files()
  */
 public function _init()
 {
     self::$_init_passed = true;
     if ($this->_init || !isset($this) || !$this->can('init')) {
         return false;
     }
     $this->_init = true;
     // Environment
     $this->_env();
     if ($this->can('control')) {
         // Options
         $this->_options();
         // Admin
         if (is_admin()) {
             $this->_admin();
         }
     }
     // Hooks
     $this->_hooks();
     // Client files
     $this->_client_files();
 }