[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/phing/filters/ -> TidyFilter.php (sommaire)

(pas de description)

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

Définit 1 class

TidyFilter:: (7 méthodes):
  setEncoding()
  setConfigParameters()
  createConfig()
  getDistilledConfig()
  read()
  chain()
  _initialize()


Classe: TidyFilter  - X-Ref

This filter uses the bundled-with-PHP Tidy extension to filter input.

<p>
Example:<br/>
<pre>
<tidyfilter encoding="utf8">
<config name="indent" value="true"/>
<config name="output-xhtml" value="true"/>
</tidyfilter>
</pre>

setEncoding($v)   X-Ref
Set the encoding for resulting (X)HTML document.

param: string $v

setConfigParameters($params)   X-Ref
Sets the config params.

param: array Parameter[]

createConfig()   X-Ref
Adds a <config> element (which is a Parameter).

return: Parameter

getDistilledConfig()   X-Ref
Converts the Parameter objects being used to store configuration into a simle assoc array.

return: array

read($len = null)   X-Ref
Reads input and returns Tidy-filtered output.

return: the resulting stream, or -1 if the end of the resulting stream has been reached

chain(Reader $reader)   X-Ref
Creates a new TidyFilter using the passed in Reader for instantiation.

param: reader A Reader object providing the underlying stream.
return: a new filter based on this configuration, but filtering

_initialize()   X-Ref
Initializes any parameters (e.g. config options).
This method is only called when this filter is used through a <filterreader> tag in build file.




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