public function __construct($entity, $page) { parent::__construct(); $this->entity = $entity; $this->page = $page; $this->setCreateURL(\URL::to($page->getCollectionPath(), 'create_entry', $entity->getID())); }
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; }
public function __construct(Query $query = null) { $this->query = $query; parent::__construct(); }
public function __construct(Category $category) { parent::__construct(); $this->category = $category; }
public function __construct(Entity $entity) { parent::__construct(); $this->currentEntity = $entity; }
public function __construct(ItemInterface $category, Package $package) { parent::__construct(); $this->category = $category; $this->package = $package; }
public function __construct(Type $type) { $this->type = $type; parent::__construct(); }
public function __construct(StandardListViewInterface $listView) { $this->listView = $listView; parent::__construct(); }
public function __construct(ProviderInterface $provider) { parent::__construct(); $this->provider = $provider; }
public function __construct(UserInfo $user) { parent::__construct(); $this->user = $user; }
public function __construct(AttributeKeyInterface $key) { $this->key = $key; parent::__construct(); }
public function __construct(\Concrete\Core\Entity\Express\Control\Control $control) { parent::__construct(); $this->control = $control; }