lib/ezutils/classes/ezmodule.php
function isCurrentAction( $actionName, $view = '' )
    {
        if ( $view == '' )
            $view = self::currentView();
        if ( $view == '' or $actionName == '' )
            return false;
        return $this->currentAction( $view ) == $actionName;
    }
function isCurrentAction( $actionName, $view = '' )
    {
        if ( $view == '' )
            $view = self::currentView();
        if ( $view == '' or $actionName == '' )
            return false;
        return $this->currentAction( $view ) == $actionName;
    }
function isCurrentAction ( $ actionName , $ view = '' ) { if ( $ view == '' ) $ view = self :: currentView ( ) ; if ( $ view == '' or $ actionName == '' ) return false ; return $ this -> currentAction ( $ view ) == $ actionName ; }
Checks if the current action is the given one

@param string $actionName The action to check
@param string $view The view to check the action for. Current view if omited.

@return bool

@see currentAction(), setCurrentAction()
Checks if the current action is the given one