Example:
Показать файл Открыть проект Примеры использования класса
Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
_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 | |
Результат | a | new filter based on this configuration, but filtering the specified reader |
public createConfig ( ) : Parameter | ||
Результат | Parameter |
public read ( $len = null ) : the | ||
Результат | the | resulting stream, or -1 if the end of the resulting stream has been reached |
public setConfigParameters ( $params ) |
public setEncoding ( string $v ) | ||
$v | string |