Example:
파일 보기 프로젝트 열기: vjousse/symfony-1.4 1 사용 예제들
메소드 | 설명 | |
---|---|---|
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 setEncoding ( string $v ) | ||
$v | string |