| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 456 lignes (15 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Path:: (19 méthodes):
__construct()
setDir()
setPath()
setRefid()
createPathElement()
addFileset()
addDirset()
createPath()
append()
addExisting()
listPaths()
__toString()
translatePath()
translateFile()
translateFileSep()
size()
__clone()
dieOnCircularReference()
resolveFile()
PathElement:: (4 méthodes):
__construct()
setDir()
setPath()
getParts()
| __construct($project = null, $path = null) X-Ref |
| Constructor for internally instantiated objects sets project. param: Project $project param: string $path (for use by IntrospectionHelper) |
| setDir(PhingFile $location) X-Ref |
| Adds a element definition to the path. param: $location the location of the element to add (must not be |
| setPath($path) X-Ref |
| Parses a path definition and creates single PathElements. param: path the path definition. |
| setRefid(Reference $r) X-Ref |
| Makes this instance in effect a reference to another Path instance. <p>You must not set another attribute or nest elements inside this element if you make it a reference.</p> |
| createPathElement() X-Ref |
| Creates the nested <code><pathelement></code> element. |
| addFileset(FileSet $fs) X-Ref |
| Adds a nested <code><fileset></code> element. |
| addDirset(DirSet $dset) X-Ref |
| Adds a nested <code><dirset></code> element. |
| createPath() X-Ref |
| Creates a nested <code><path></code> element. |
| append(Path $other) X-Ref |
| Append the contents of the other Path instance to this. |
| addExisting(Path $source) X-Ref |
| Adds the components on the given path which exist to this Path. Components that don't exist, aren't added. param: Path $source - Source path whose components are examined for existence. |
| listPaths() X-Ref |
| Returns all path elements defined by this and nested path objects. return: array List of path elements. |
| __toString() X-Ref |
| Returns a textual representation of the path, which can be used as CLASSPATH or PATH environment variable definition. return: string A textual representation of the path. |
| translatePath(Project $project, $source) X-Ref |
| Splits a PATH (with : or ; as separators) into its parts. param: Project $project param: string $source |
| translateFile($source) X-Ref |
| Returns its argument with all file separator characters replaced so that they match the local OS conventions. |
| translateFileSep(&$buffer, $pos) X-Ref |
| Translates all occurrences of / or \ to correct separator of the current platform and returns whether it had to do any replacements. |
| size() X-Ref |
| How many parts does this Path instance consist of. DEV NOTE: expensive call! list is generated, counted, and then discareded. return: int |
| __clone() X-Ref |
| Return a Path that holds the same elements as this instance. |
| dieOnCircularReference(&$stk, Project $p) X-Ref |
| Overrides the version of DataType to recurse on all DataType child elements that may have been added. |
| resolveFile(Project $project, $relativeName) X-Ref |
| Resolve a filename with Project's help - if we know one that is. <p>Assume the filename is absolute if project is null.</p> |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |