예제 #1
0
 protected function startup()
 {
     parent::startup();
     $this->position = time();
     $this->route->setLocalUrl(Strings::webalize(Strings::random()));
     $this->getRoute()->setPublished(TRUE);
 }
예제 #2
0
파일: TagEntity.php 프로젝트: svobodni/web
 protected function startup()
 {
     parent::startup();
     $this->route->published = TRUE;
     $this->setName('');
 }
예제 #3
0
 protected function startup()
 {
     parent::startup();
     $this->categories = new ArrayCollection();
 }
예제 #4
0
 protected function startup()
 {
     parent::startup();
     $this->setName(Strings::random(20));
     $this->route->setPublished(TRUE);
 }
예제 #5
0
 protected function startup()
 {
     parent::startup();
     $this->setName('Cart')->getRoute()->setPublished(TRUE);
 }
예제 #6
0
 protected function startup()
 {
     parent::startup();
     $this->children = new ArrayCollection();
 }
예제 #7
0
 protected function startup()
 {
     parent::startup();
     $this->getRoute()->setLocalUrl('feed.xml')->setTitle('Feed')->setPublished(TRUE);
 }
예제 #8
0
파일: RssEntity.php 프로젝트: svobodni/web
 protected function startup()
 {
     parent::startup();
     $this->targetPages = new ArrayCollection();
 }
예제 #9
0
파일: UserEntity.php 프로젝트: svobodni/web
 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();
 }