Пример #1
0
    protected function startup()
    {
        parent::startup();
        $this->mode = self::MODE_BASIC;
        $this->socialMode = self::SOCIAL_MODE_LOAD_AND_SAVE;
        $this->email = '<p>Thank your for your registration.</p>
			<p>Your registration informations:</p>

			<strong>E-mail:</strong> {$email}<br />
			<strong>Password:</strong> {$password}

			<p>
				Please activate your account here: {$link}
			</p>';
    }
Пример #2
0
 protected function startup()
 {
     parent::startup();
     $this->page->navigationShow = FALSE;
 }
Пример #3
0
 protected function startup()
 {
     parent::startup();
     $this->accounts = new ArrayCollection();
 }
Пример #4
0
 public function getPrivileges()
 {
     return parent::getPrivileges() + array(self::PRIVILEGE_EDIT_OWN => 'edit own comments', self::PRIVILEGE_DELETE_OWN => 'delete own comments', self::PRIVILEGE_EDIT => 'edit comments from all authors', self::PRIVILEGE_DELETE => 'delete comments from all authors');
 }
Пример #5
0
 protected function startup()
 {
     parent::startup();
     $this->members = new ArrayCollection();
     $this->supporters = new ArrayCollection();
 }
Пример #6
0
 protected function startup()
 {
     parent::startup();
     $this->mailform = new MailformEntity();
 }