lib/ezutils/classes/ezmodule.php
function setCurrentAction( $actionName, $view = '' )
    {
        if ( $view == '' )
            $view = self::currentView();
        if ( $view == '' or $actionName == '' )
            return false;
        $this->ViewActions[$view] = $actionName;
    }
function setCurrentAction( $actionName, $view = '' )
    {
        if ( $view == '' )
            $view = self::currentView();
        if ( $view == '' or $actionName == '' )
            return false;
        $this->ViewActions[$view] = $actionName;
    }
function setCurrentAction ( $ actionName , $ view = '' ) { if ( $ view == '' ) $ view = self :: currentView ( ) ; if ( $ view == '' or $ actionName == '' ) return false ; $ this -> ViewActions [ $ view ] = $ actionName ; }
Sets the current action for a view

@param string $actionName The action to make current
@param string $view
The view to set the action for. If omited, the current view is used

@return void

@see currentAction(), isCurrentAction()
Sets the current action for a view