Example:
Mostrar archivo Open project: vjousse/symfony-1.4 Class Usage Examples
Method | Description | |
---|---|---|
chain ( Reader $reader ) : a | Creates a new TidyFilter using the passed in Reader for instantiation. | |
createConfig ( ) : Parameter |
Adds a |
|
read ( $len = null ) : the | Reads input and returns Tidy-filtered output. | |
setConfigParameters ( $params ) | Sets the config params. | |
setEncoding ( string $v ) | Set the encoding for resulting (X)HTML document. |
Method | Description | |
---|---|---|
_initialize ( ) | Initializes any parameters (e.g. config options). | |
getDistilledConfig ( ) : array | Converts the Parameter objects being used to store configuration into a simle assoc array. |
public chain ( Reader $reader ) : a | ||
$reader | Reader | |
return | a | new filter based on this configuration, but filtering the specified reader |
public createConfig ( ) : Parameter | ||
return | Parameter |
public read ( $len = null ) : the | ||
return | the | resulting stream, or -1 if the end of the resulting stream has been reached |
public setEncoding ( string $v ) | ||
$v | string |