/** * Returns metadata file name for the given additional metadata parameters * * @param string $view The view type * @param string $module The name of the module that will use this metadata * @param string $location The location of the file * @param string $client The client type * @param array $params Additional metadata parameters * @return string */ protected function getFileNameByParameters($view, $module, $location, $client, array $params = array()) { $params = array_merge($params, array('client' => $this->_viewClient, 'location' => $location)); if ($client) { $params['client'] = $client; } $file = MetaDataFiles::getFile($view, $module, $params); return MetaDataFiles::getFilePath($file); }