Ejemplo n.º 1
0
 protected function Init()
 {
     if (self::Guard()->Accessor()->IsUndefined()) {
         return true;
     }
     $this->logout = ContentLogout::Schema()->ByContent($this->Content());
     $this->triggerName = 'Logout-' . $this->Content()->GetID();
     $this->HandlePost();
     return parent::Init();
 }
Ejemplo n.º 2
0
 /**
  * Gets the element database schea
  * @return ContentLogoutSchema Returns the logout element database schema
  */
 protected function ElementSchema()
 {
     return ContentLogout::Schema();
 }