protected function _underscore($url)
    {
        if (!empty($url['controller'])) {
            $url['controller'] = Inflector::underscore($url['controller']);
        }
        if (!empty($url['plugin'])) {
            $url['plugin'] = Inflector::underscore($url['plugin']);
        }

        return $url;
    }
protected function _underscore($url)
    {
        if (!empty($url['controller'])) {
            $url['controller'] = Inflector::underscore($url['controller']);
        }
        if (!empty($url['plugin'])) {
            $url['plugin'] = Inflector::underscore($url['plugin']);
        }

        return $url;
    }
protected function _underscore ( $ url ) { if ( ! empty ( $ url [ 'controller' ] ) ) { $ url [ 'controller' ] = Inflector :: underscore ( $ url [ 'controller' ] ) ; } if ( ! empty ( $ url [ 'plugin' ] ) ) { $ url [ 'plugin' ] = Inflector :: underscore ( $ url [ 'plugin' ] ) ; } return $ url ; }
Helper method for underscoring keys in a URL array.

@param array $url An array of URL keys.
@return array
Helper method for underscoring keys in a URL array .