示例#1
0
 /**
  * [IoC] Creates the ElementDAO
  *
  * @param AspectDAO        $AspectDAO        the AspectDAO
  * @param SiteService      $SiteService      The SiteService
  * @param NodeSchemaParser $NodeSchemaParser The NodeSchemaParser
  */
 public function __construct(AspectDAO $AspectDAO, SiteService $SiteService, NodeSchemaParser $NodeSchemaParser)
 {
     parent::__construct(new Element());
     $this->AspectDAO = $AspectDAO;
     $this->SiteService = $SiteService;
     //        $this->PluginService    = $PluginService;
     $this->NodeSchemaParser = $NodeSchemaParser;
 }
示例#2
0
 /**
  * Creates the DAO. This is not injected, so you must supply the arguments
  */
 public function __construct()
 {
     parent::__construct(new ContextObject());
 }
示例#3
0
 /**
  * Creates the DAO
  */
 public function __construct()
 {
     parent::__construct(new Plugin());
 }
示例#4
0
 /**
  * Creates the DAO. This is not injected, so you must supply the arguments
  */
 public function __construct()
 {
     parent::__construct(new Site());
 }
示例#5
0
 /**
  * [IoC] Injects the NodeSchemaParser
  *
  * @param NodeSchemaParser $NodeSchemaParser NodeSchemaParser
  */
 public function __construct(NodeSchemaParser $NodeSchemaParser, PluginService $PluginService)
 {
     parent::__construct(new Aspect());
     $this->NodeSchemaParser = $NodeSchemaParser;
     $this->PluginService = $PluginService;
 }
 /**
  * Creates the CmsNavigationService
  */
 public function __construct()
 {
     parent::__construct(new CMSNavItem());
 }