Lines Matching refs:filename
79 $filename = $current->getFilename();
92 $this->acceptPrefix($filename) &&
93 $this->acceptSuffix($filename);
113 * @param string $filename
117 protected function acceptPrefix($filename) argument
119 return $this->acceptSubString($filename, $this->prefixes, self::PREFIX);
123 * @param string $filename
127 protected function acceptSuffix($filename) argument
129 return $this->acceptSubString($filename, $this->suffixes, self::SUFFIX);
133 * @param string $filename
139 protected function acceptSubString($filename, array $subStrings, $type) argument
148 if (($type == self::PREFIX && strpos($filename, $string) === 0) ||
150 substr($filename, -1 * strlen($string)) == $string)) {