protected function actionWithNamespace($action)
    {
        $rootNamespace = $this->getRootControllerNamespace();

        if ($rootNamespace && ! (strpos($action, '\\') === 0)) {
            return $rootNamespace . '\\' . $action;
        } else {
            return trim($action, '\\');
        }
    }
protected function actionWithNamespace($action)
    {
        $rootNamespace = $this->getRootControllerNamespace();

        if ($rootNamespace && ! (strpos($action, '\\') === 0)) {
            return $rootNamespace . '\\' . $action;
        } else {
            return trim($action, '\\');
        }
    }
protected function actionWithNamespace ( $ action ) { $ rootNamespace = $ this -> getRootControllerNamespace ( ) ; if ( $ rootNamespace && ! ( strpos ( $ action , '\\' ) === 0 ) ) { return $ rootNamespace . '\\' . $ action ; } else { return trim ( $ action , '\\' ) ; } }
Normalize an action to full namespaced action.

@param string $action
@return string
Normalize an action to full namespaced action .