public function __construct() { $this->page = $this->createPageEntity(); $this->extendedMainRoute = $this->createMainRoute(); $this->page->mainRoute = $this->extendedMainRoute->getRoute(); $this->page->special = $this->getSpecial(); $this->startup(); }
protected function startup() { parent::startup(); $this->position = time(); $this->route->setLocalUrl(Strings::webalize(Strings::random())); $this->getRoute()->setPublished(TRUE); }
protected function startup() { parent::startup(); $this->route->published = TRUE; $this->setName(''); }
protected function startup() { parent::startup(); $this->categories = new ArrayCollection(); }
protected function startup() { parent::startup(); $this->setName(Strings::random(20)); $this->route->setPublished(TRUE); }
protected function startup() { parent::startup(); $this->setName('Cart')->getRoute()->setPublished(TRUE); }
/** * @return string */ protected function getPresenterName() { $presenter = explode(':', parent::getPresenterName()); $presenter[count($presenter) - 2] = 'Route'; return join(':', $presenter); }
protected function startup() { parent::startup(); $this->getRoute()->setLocalUrl('feed.xml')->setTitle('Feed')->setPublished(TRUE); }
protected function startup() { parent::startup(); $this->targetPages = new ArrayCollection(); }
protected function startup() { parent::startup(); $this->roleEntities = new ArrayCollection(); $this->logins = new ArrayCollection(); $this->loginProviders = new ArrayCollection(); $this->routes = new ArrayCollection(); $this->generateNewSalt(); $this->created = new \DateTime(); }