[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/phing/types/ -> TokenSource.php (sommaire)

(pas de description)

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

Définit 1 class

TokenSource:: (6 méthodes):
  load()
  getTokens()
  configureTokenReader()
  setClassname()
  getClassname()
  createParam()


Classe: TokenSource  - X-Ref

A parameter is composed of a name, type and value.

Example of usage:

<replacetokens>
<tokensource classname="phing.filters.util.IniFileTokenReader">
<!-- all params for the TokenReader here -->
<param name="file" value="tokens.ini" />
</tokensource>
</replacetokens>

or:

<filterreader classname="phing.filters.ReplaceTokens">
<param type="tokensource>
<param name="classname" value="phing.filters.util.IniFileTokenReader" />
<param name="file" value="tokens.ini" />
</param>
</filterreader>

load()   X-Ref
This method is called to load the sources from the reader
into the buffer of the source.


getTokens()   X-Ref
This function uses the wrapper to read the tokens and then
returns them.


configureTokenReader(TokenReader $reader)   X-Ref
Configures a TokenReader with the parameters passed to the
TokenSource.

param: TokenReader $reader

setClassname($c)   X-Ref
Set the classname (dot-path) to use for handling token replacement.

param: string $c

getClassname()   X-Ref
Returns the qualified classname (dot-path) to use for handling token replacement.

return: string

createParam()   X-Ref
Create nested <param> tag.
Uses standard name/value Parameter class.

return: Parameter



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