6.X/EMPS.php
/**
     * Pre-controller handler
     *
     * Called immediately before a module controller PHP script is called.
     */
Pre-controller handler
Called immediately before a module controller PHP script is called.
Pre - controller handler Called immediately before a module controller PHP script is called .
public function pre_controller()
    {
        global $pp, $smarty;
        $x = explode('-', $pp);
        if ($x[0] == "admin" || $x[0] == "manage") {
            $this->page_property("adminpage", 1);
        }
        $smarty->assign("enum", $this->enum);
    }
public function pre_controller ( ) { global $ pp , $ smarty ; $ x = explode ( '-' , $ pp ) ; if ( $ x [ 0 ] == " admin " || $ x [ 0 ] == " manage " ) { $ this -> page_property ( " adminpage " , 1 ) ; } $ smarty -> assign ( " enum " , $ this -> enum ) ; }
Pre-controller handler
 Called immediately before a module controller PHP script is called.
Pre - controller handler Called immediately before a module controller PHP script is called .