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

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

class HeaderMenu extends TTemplateControl {

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

}

?>