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

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