BaikalAdmin\Controller\User\Calendars::execute PHP Метод

execute() публичный Метод

# \Formal\Form
public execute ( )
    function execute()
    {
        if (($iUser = $this->currentUserId()) === false) {
            throw new \Exception("BaikalAdmin\\Controller\\User\\Calendars::render(): User get-parameter not found.");
        }
        $this->oUser = new \Baikal\Model\User($iUser);
        if ($this->actionNewRequested()) {
            $this->actionNew();
        } elseif ($this->actionEditRequested()) {
            $this->actionEdit();
        } elseif ($this->actionDeleteRequested()) {
            $this->actionDelete();
        }
    }