Lines Matching refs:file
29 * @param string $file
32 public function processLangFile($file) argument
35 include $file;
46 $this->removeLangKey($file, $subkey, $key);
49 $this->removeLangKey($file, $key);
57 * @param string $file
60 public function processSettingsFile($file) argument
63 include $file;
67 $this->removeLangKey($file, $key);
74 * @param string $file
79 protected function removeLangKey($file, $key, $sub = '') argument
89 if (io_deleteFromFile($file, $re, true)) {
92 'file' => $file,
118 function ($file) {
120 …if ($file->isFile() && $file->getExtension() != 'php' && $file->getExtension() != 'js') return fal…
121 return $file->getFilename()[0] !== '.';
127 foreach ($ite as $file) {
129 $path = str_replace('\\', '/', $file->getPathname());
133 if ($file->getExtension() == 'php') {
135 } elseif ($file->getExtension() == 'js') {
155 * @param string $file
158 public function metaExtract($file) argument
161 include $file;
165 $found[$key] = $file;
169 $found[$key . '_o_' . $choice] = $file;
180 * @param string $file
183 public function jsExtract($file) argument
196 return $this->extract($file, $regex);
202 * @param string $file
205 public function phpExtract($file) argument
208 return $this->extract($file, $regex);
214 * @param string $file
218 private function extract($file, $regex) argument
221 $lines = file($file);
230 $found[$key] = $file . ':' . ($lno + 1);