예제 #1
0
파일: Mapper.php 프로젝트: gridguyz/core
 /**
  * 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);
 }
예제 #2
0
파일: Mapper.php 프로젝트: gridguyz/core
 /**
  * Contructor
  *
  * @param \User\Model\User\Right\Structure $userRightStructurePrototype
  */
 public function __construct(Structure $userRightStructurePrototype = null)
 {
     parent::__construct($userRightStructurePrototype ?: new Structure());
 }
예제 #3
0
파일: Mapper.php 프로젝트: gridguyz/core
 /**
  * Contructor
  *
  * @param \Customize\Model\Rule\Structure $customizeRuleStructurePrototype
  */
 public function __construct(Structure $customizeRuleStructurePrototype = null)
 {
     parent::__construct($customizeRuleStructurePrototype ?: new Structure());
 }
예제 #4
0
파일: Mapper.php 프로젝트: gridguyz/core
 /**
  * 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);
 }
예제 #5
0
 /**
  * Contructor
  *
  * @param \MultisiteCentral\Model\Site\Structure $multisiteCentralSiteStructurePrototype
  */
 public function __construct(Structure $multisiteCentralSiteStructurePrototype = null)
 {
     parent::__construct($multisiteCentralSiteStructurePrototype ?: new Structure());
 }
예제 #6
0
파일: Mapper.php 프로젝트: gridguyz/core
 /**
  * Contructor
  *
  * @param \Grid\Core\Model\Module\Structure $subDomainStructurePrototype
  */
 public function __construct(Structure $subDomainStructurePrototype = null)
 {
     parent::__construct($subDomainStructurePrototype ?: new Structure());
 }
예제 #7
0
 /**
  * Constructor
  *
  * @param TestReadWriteStructure $structurePrototype
  */
 public function __construct(TestReadWriteStructure $structurePrototype = null)
 {
     parent::__construct($structurePrototype ?: new TestReadWriteStructure());
 }
예제 #8
0
파일: Mapper.php 프로젝트: gridguyz/core
 /**
  * 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);
 }
예제 #9
0
파일: Mapper.php 프로젝트: gridguyz/banner
 /**
  * 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());
 }
예제 #10
0
 /**
  * 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);
 }
예제 #11
0
파일: Mapper.php 프로젝트: gridguyz/banner
 /**
  * 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);
 }