Read lines from the current directory pointer except some parts.
Definition at line 156 of file class_FrameworkDirectoryPointer.php. References readRawDirectory(). 00156 { 00157 if ((empty($except)) || (!is_array($except)) || (count($except) == 0)) { 00158 // No exception given, so read all data 00159 return $this->readRawDirectory(); 00160 } 00161 00162 // Read a raw line... 00163 $rawLine = $this->readRawDirectory(); 00164 00165 // Shall we exclude directories? 00166 if ((!is_null($rawLine)) && ($rawLine !== false) && (in_array($rawLine, $except))) { 00167 // Exclude this part 00168 return $this->readDirectoryExcept($except); 00169 } elseif ((!is_null($rawLine)) && ($rawLine !== false)) { 00170 // Return read data 00171 return $rawLine; 00172 } 00173 00174 // End pointer reached 00175 return null; 00176 }
Here is the call graph for this function:
![]()
|
1.5.6