[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/util/ -> PathTokenizer.php (sommaire)

(pas de description)

Poids: 245 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PathTokenizer:: (4 méthodes):
  __construct()
  hasMoreTokens()
  nextToken()
  contains()


Classe: PathTokenizer  - X-Ref

A Path tokenizer takes a path and returns the components that make up
that path.

The path can use path separators of either ':' or ';' and file separators
of either '/' or '\'.

__construct($path)   X-Ref
Constructs a path tokenizer for the specified path.

param: path The path to tokenize. Must not be <code>null</code>.

hasMoreTokens()   X-Ref
Tests if there are more path elements available from this tokenizer's
path. If this method returns <code>true</code>, then a subsequent call
to nextToken will successfully return a token.

return: <code>true</code> if and only if there is at least one token

nextToken()   X-Ref
Returns the next path element from this tokenizer.

return: the next path element from this tokenizer.

contains($path)   X-Ref
Non StringTokenizer function, that indicates whether the specified path is contained in loaded tokens.
We can do this easily because in PHP implimentation we're using arrays.

param: string $path path to search for.
return: boolean



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7