[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 266 lignes (8 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
UnixFileSystem:: (15 méthodes):
getSeparator()
getPathSeparator()
normalize()
normalizer()
prefixLength()
resolve()
getDefaultParent()
isAbsolute()
resolveFile()
getBooleanAttributes()
setReadOnly()
compare()
listRoots()
lister()
fromURIPath()
Classe: UnixFileSystem - X-Ref
UnixFileSystem class. This class encapsulates the basic file system functionsgetSeparator() X-Ref |
returns OS dependant path separator char |
getPathSeparator() X-Ref |
returns OS dependant directory separator char |
normalize($strPathname) X-Ref |
A normal Unix pathname contains no duplicate slashes and does not end with a slash. It may be the empty string. Check that the given pathname is normal. If not, invoke the real normalizer on the part of the pathname that requires normalization. This way we iterate through the whole pathname string only once. |
normalizer($pathname, $len, $offset) X-Ref |
Normalize the given pathname, whose length is $len, starting at the given $offset; everything before this offset is already normal. |
prefixLength($pathname) X-Ref |
Compute the length of the pathname string's prefix. The pathname string must be in normal form. |
resolve($parent, $child) X-Ref |
Resolve the child pathname string against the parent. Both strings must be in normal form, and the result will be in normal form. |
getDefaultParent() X-Ref |
Pas de description |
isAbsolute(PhingFile $f) X-Ref |
Pas de description |
resolveFile(PhingFile $f) X-Ref |
the file resolver |
getBooleanAttributes(&$f) X-Ref |
Pas de description |
setReadOnly($f) X-Ref |
set file readonly on unix |
compare($f1, $f2) X-Ref |
compares file paths lexicographically |
listRoots() X-Ref |
Pas de description |
lister($f) X-Ref |
returns the contents of a directory in an array |
fromURIPath($p) X-Ref |
Pas de description |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |