Lines Matching refs:file
28 * @param string $file
31 public function processLangFile($file) argument
34 include $file;
45 $this->removeLangKey($file, $subkey, $key);
48 $this->removeLangKey($file, $key);
56 * @param string $file
59 public function processSettingsFile($file) argument
62 include $file;
66 $this->removeLangKey($file, $key);
73 * @param string $file
78 protected function removeLangKey($file, $key, $sub = '') argument
88 if (io_deleteFromFile($file, $re, true)) {
91 'file' => $file,
117 function ($file) {
119 … if ($file->isFile() && $file->getExtension() != 'php' && $file->getExtension() != 'js') {
122 return $file->getFilename()[0] !== '.';
128 foreach ($ite as $file) {
130 $path = str_replace('\\', '/', $file->getPathname());
134 if ($file->getExtension() == 'php') {
136 } elseif ($file->getExtension() == 'js') {
156 * @param string $file
159 public function metaExtract($file) argument
162 include $file;
166 $found[$key] = $file;
170 $found[$key . '_o_' . $choice] = $file;
181 * @param string $file
184 public function jsExtract($file) argument
197 return $this->extract($file, $regex);
203 * @param string $file
206 public function phpExtract($file) argument
209 return $this->extract($file, $regex);
215 * @param string $file
219 private function extract($file, $regex) argument
222 $lines = file($file);
231 $found[$key] = $file . ':' . ($lno + 1);