protected function _file($category, $locale, $scope) {
		$path = $this->_config['path'];
		$scope = $scope ?: 'default';

		if (($pos = strpos($category, 'Template')) !== false) {
			$category = substr($category, 0, $pos);
			return "{$path}/{$category}_{$scope}.php";
		}
		return "{$path}/{$locale}/{$category}/{$scope}.php";
	}
protected function _file($category, $locale, $scope) {
		$path = $this->_config['path'];
		$scope = $scope ?: 'default';

		if (($pos = strpos($category, 'Template')) !== false) {
			$category = substr($category, 0, $pos);
			return "{$path}/{$category}_{$scope}.php";
		}
		return "{$path}/{$locale}/{$category}/{$scope}.php";
	}
protected function _file ( $ category , $ locale , $ scope ) { $ path = $ this -> _config [ 'path' ] ; $ scope = $ scope ? : 'default' ; if ( ( $ pos = strpos ( $ category , 'Template' ) ) !== false ) { $ category = substr ( $ category , 0 , $ pos ) ; return "{$path}/{$category}_{$scope}.php" ; } return "{$path}/{$locale}/{$category}/{$scope}.php" ; }
Helper method for transforming a category, locale and scope into a filename.

@param string $category Category name.
@param string $locale Locale identifier.
@param string $scope Current operation scope.
@return string Filename.
Helper method for transforming a category locale and scope into a filename .