コード例 #1
0
ファイル: header.php プロジェクト: ppiedaderawnet/concrete5
 public function __construct($entity, $page)
 {
     parent::__construct();
     $this->entity = $entity;
     $this->page = $page;
     $this->setCreateURL(\URL::to($page->getCollectionPath(), 'create_entry', $entity->getID()));
 }
コード例 #2
0
ファイル: menu.php プロジェクト: ppiedaderawnet/concrete5
 public function __construct(Page $startingParentPage, Page $currentPage = null)
 {
     parent::__construct();
     $this->startingParentPage = $startingParentPage;
     if (is_object($currentPage)) {
         $this->trail = array($currentPage->getCollectionID());
         $cParentID = Page::getCollectionParentIDFromChildID($currentPage->getCollectionID());
         while ($cParentID > 0) {
             $this->trail[] = $cParentID;
             $cParentID = Page::getCollectionParentIDFromChildID($cParentID);
         }
     }
     // pop off the dashboard node
     array_pop($this->trail);
     $this->currentPage = $currentPage;
 }
コード例 #3
0
ファイル: header.php プロジェクト: ppiedaderawnet/concrete5
 public function __construct(Query $query = null)
 {
     $this->query = $query;
     parent::__construct();
 }
コード例 #4
0
 public function __construct(Category $category)
 {
     parent::__construct();
     $this->category = $category;
 }
コード例 #5
0
ファイル: menu.php プロジェクト: ppiedaderawnet/concrete5
 public function __construct(Entity $entity)
 {
     parent::__construct();
     $this->currentEntity = $entity;
 }
コード例 #6
0
 public function __construct(ItemInterface $category, Package $package)
 {
     parent::__construct();
     $this->category = $category;
     $this->package = $package;
 }
コード例 #7
0
ファイル: form.php プロジェクト: ppiedaderawnet/concrete5
 public function __construct(Type $type)
 {
     $this->type = $type;
     parent::__construct();
 }
コード例 #8
0
 public function __construct(StandardListViewInterface $listView)
 {
     $this->listView = $listView;
     parent::__construct();
 }
コード例 #9
0
 public function __construct(ProviderInterface $provider)
 {
     parent::__construct();
     $this->provider = $provider;
 }
コード例 #10
0
ファイル: header.php プロジェクト: ppiedaderawnet/concrete5
 public function __construct(UserInfo $user)
 {
     parent::__construct();
     $this->user = $user;
 }
コード例 #11
0
 public function __construct(AttributeKeyInterface $key)
 {
     $this->key = $key;
     parent::__construct();
 }
コード例 #12
0
ファイル: control.php プロジェクト: ppiedaderawnet/concrete5
 public function __construct(\Concrete\Core\Entity\Express\Control\Control $control)
 {
     parent::__construct();
     $this->control = $control;
 }