Ejemplo n.º 1
0
 /**
  * This member function is overridden. The sub-class implements the
  * initialization process which sets up the root object finally.
  *
  * @param XCube_Root $root
  */
 function prepare(&$root)
 {
     $this->mRoot =& $root;
     $this->mRoot->setDelegateManager($this->_createDelegateManager());
     $this->mRoot->setServiceManager($this->_createServiceManager());
     $this->mRoot->setPermissionManager($this->_createPermissionManager());
     $this->mRoot->setRoleManager($this->_createRoleManager());
     $this->mRoot->setContext($this->_createContext());
 }