summaryrefslogtreecommitdiff
path: root/app/php/controls/HeaderMenu.php
blob: f6b69b9d03a16d34a6925f22a5036a3e4f2ac028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

Prado::using('Application.components.TemplateControl');

Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');

class HeaderMenu extends TemplateControl {

    public function logoutUser($sender, $param) {
        $this->Application->getModule('auth')->logout();
        $this->Response->redirect(
            $this->Service->ConstructUrl(NULL)
        );
    }

}

?>