/** * Contructor * * @param \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator * @param \Menu\Model\Menu\StructureFactory $paragraphStructureFactory * @param \Menu\Model\Menu\Structure\ProxyBase $paragraphStructurePrototype * @param string $locale */ public function __construct(ServiceLocatorInterface $serviceLocator, StructureFactory $menuStructureFactory, Structure\ProxyBase $menuStructurePrototype = null, $locale = null) { parent::__construct($menuStructurePrototype ?: new Structure\ProxyBase()); $this->setServiceLocator($serviceLocator)->setStructureFactory($menuStructureFactory)->setLocale($locale); }
/** * Contructor * * @param \User\Model\User\Right\Structure $userRightStructurePrototype */ public function __construct(Structure $userRightStructurePrototype = null) { parent::__construct($userRightStructurePrototype ?: new Structure()); }
/** * Contructor * * @param \Customize\Model\Rule\Structure $customizeRuleStructurePrototype */ public function __construct(Structure $customizeRuleStructurePrototype = null) { parent::__construct($customizeRuleStructurePrototype ?: new Structure()); }
/** * Contructor * * @param \Tag\Model\Tag\Structure $tagStructurePrototype * @param string $locale */ public function __construct(Structure $tagStructurePrototype = null, $locale = null) { parent::__construct($tagStructurePrototype ?: new Structure()); $this->setLocale($locale); }
/** * Contructor * * @param \MultisiteCentral\Model\Site\Structure $multisiteCentralSiteStructurePrototype */ public function __construct(Structure $multisiteCentralSiteStructurePrototype = null) { parent::__construct($multisiteCentralSiteStructurePrototype ?: new Structure()); }
/** * Contructor * * @param \Grid\Core\Model\Module\Structure $subDomainStructurePrototype */ public function __construct(Structure $subDomainStructurePrototype = null) { parent::__construct($subDomainStructurePrototype ?: new Structure()); }
/** * Constructor * * @param TestReadWriteStructure $structurePrototype */ public function __construct(TestReadWriteStructure $structurePrototype = null) { parent::__construct($structurePrototype ?: new TestReadWriteStructure()); }
/** * Contructor * * @param \User\Model\User\Group\Mapper $userGroupMapper * @param \User\Model\User\Structure $userStructurePrototype */ public function __construct(Group\Mapper $userGroupMapper, SiteInfo $siteInfo, Structure $userStructurePrototype = null) { parent::__construct($userStructurePrototype ?: new Structure()); $this->setUserGroupMapper($userGroupMapper)->setSiteInfo($siteInfo); }
/** * Contructor: Sets banner mapper & banner-set structure prototype * * @param \Grid\Banner\Model\Banner\Mapper $bannerMapper * @param \Grid\Banner\Model\BannerSet\Structure $bannerSetStructurePrototype */ public function __construct(BannerMapper $bannerMapper, Structure $bannerSetStructurePrototype = null) { $this->setBannerMapper($bannerMapper); parent::__construct($bannerSetStructurePrototype ?: new Structure()); }
/** * Contructor * * @param \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator * @param \ApplicationLog\Model\Log\StructureFactory $paragraphStructureFactory * @param \ApplicationLog\Model\Log\Structure\ProxyBase $paragraphStructurePrototype */ public function __construct(ServiceLocatorInterface $serviceLocator, StructureFactory $applicationLogStructureFactory, Structure\ProxyBase $applicationLogStructurePrototype = null) { parent::__construct($applicationLogStructurePrototype ?: new Structure\ProxyBase()); $this->setServiceLocator($serviceLocator)->setStructureFactory($applicationLogStructureFactory); }
/** * Contructor: Sets banner structure prototype * * @param \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator * @param \Grid\Banner\Model\Banner\StructureFactory $bannerStructureFactory * @param \Grid\Banner\Model\Banner\Structure\ProxyBase $bannerStructurePrototype */ public function __construct(ServiceLocatorInterface $serviceLocator, StructureFactory $bannerStructureFactory, Structure\ProxyBase $bannerStructurePrototype = null) { $this->setServiceLocator($serviceLocator); if (null === static::$previousBlockedIds) { $this->releaseBlockedIds(); } parent::__construct($bannerStructurePrototype ?: new Structure\ProxyBase()); $this->setStructureFactory($bannerStructureFactory); }