public static function actionFilename($action, $dirs = null, $useNamespaces = false)
    {
        $dirs = self::path($dirs ?: self::get('atomik.dirs.actions'));
        if (($filename = self::findFile("$action.php", $dirs, $useNamespaces)) === false) {
            return $useNamespaces ? false : self::findFile("$action/index.php", $dirs);
        }
        return $filename;
    }
public static function actionFilename($action, $dirs = null, $useNamespaces = false)
    {
        $dirs = self::path($dirs ?: self::get('atomik.dirs.actions'));
        if (($filename = self::findFile("$action.php", $dirs, $useNamespaces)) === false) {
            return $useNamespaces ? false : self::findFile("$action/index.php", $dirs);
        }
        return $filename;
    }
public static function actionFilename ( $ action , $ dirs = null , $ useNamespaces = false ) { $ dirs = self :: path ( $ dirs ? : self :: get ( 'atomik.dirs.actions' ) ) ; if ( ( $ filename = self :: findFile ( "$action.php" , $ dirs , $ useNamespaces ) ) === false ) { return $ useNamespaces ? false : self :: findFile ( "$action/index.php" , $ dirs ) ; } return $ filename ; }
Returns an action's filename

@see Atomik::path()
@param string $action Action name
@param array $dirs Directories where actions are stored (default is using configuration)
@return string
Returns an action s filename