public static function getActionId($actionMethod)
    {
        if (strpos($actionMethod, 'action') === 0) {
            $actionMethod = substr($actionMethod, 6);
        }
        return Inflector::camel2id($actionMethod, '-');
    }
public static function getActionId($actionMethod)
    {
        if (strpos($actionMethod, 'action') === 0) {
            $actionMethod = substr($actionMethod, 6);
        }
        return Inflector::camel2id($actionMethod, '-');
    }
public static function getActionId ( $ actionMethod ) { if ( strpos ( $ actionMethod , 'action' ) === 0 ) { $ actionMethod = substr ( $ actionMethod , 6 ) ; } return Inflector :: camel2id ( $ actionMethod , '-' ) ; }
Convert controller action method name to it's ID
@param string $actionMethod
@return string
Convert controller action method name to it s ID