コード例 #1
0
 public function __construct()
 {
     parent::__construct();
     /* because we are bootstrapping this manually load menu */
     $this->load->model('o_menubar_model');
     $this->load->library('package/Package_migration');
     $attr = $_SERVER['argv'];
     $attr = array_slice($attr, 3, null, true);
     foreach ($attr as $x) {
         list($name, $value) = explode('=', $x, 2);
         $this->values[$name] = $value;
     }
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('package_manager');
     $this->packages = ci()->package_manager->prepare();
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('migration');
 }