Beispiel #1
0
 /**
  * controlerX needs access to xdo of ControllerY
  * will execute ControllerXDO::unpack(controllerY);
  */
 public static function unpack($controllerName)
 {
     $ret = new ControllerXDO();
     $ret->load(md5(self::sessionId() . ':' . $controllerName) . '.cxdo');
     $ret->unserialize();
     return $ret;
 }
Beispiel #2
0
 public function ctor()
 {
     Runtime::loadModule('admin');
     ControllerTray::instance()->renderLayout = false;
     $this->_xdo = ControllerXDO::unpack('project');
     $this->_xdo->unserialize();
     if (Backend::ExistsUnSessioned('explorer.' . $this->_xdo->project->name)) {
         $this->_backend = Backend::LoadUnSessioned('explorer.' . $this->_xdo->project->name);
     } else {
         $this->_backend = Structs\Admin\Project::create($this->_xdo->project->name);
         /*Create From reflection*/
     }
     if (isset($this->_xdo->controllerName)) {
         $this->_controllerName = $this->_xdo->controllerName;
     }
 }