Funções do Tidy
Classes pré-definidas
tidyNode
Propriedades
-
value - o valor da tag (e.g. the html text)
-
name - o nome da tag (e.g. html, a, etc..)
-
type - o tipo de node (uma das constantes acima, e.g.
TIDY_NODETYPE_PHP) -
line* - a linha onde o node inicia
-
column* - a coluna onde o node inicia
-
proprietary* -
TRUEse o node refere-se a uma tag proprietária -
id - o ID da tag (um das constantes acima, e.g.
TIDY_TAG_FRAME) -
attribute - um array com os atributos do node atual, ou
NULLse não existir algum -
child - um array com o filho do tidyNodes, ou
NULLse não existir algum
Note:
As propriedades marcadas com * estão disponíveis somente a partir do PHP 5.1.0.
Table of Contents
- ob_tidyhandler — ob_start callback function to repair the buffer
- tidy_access_count — Returns the Number of Tidy accessibility warnings encountered for specified document
- tidy_config_count — Returns the Number of Tidy configuration errors encountered for specified document
- tidy_error_count — Returns the Number of Tidy errors encountered for specified document
- tidy_get_output — Return a string representing the parsed tidy markup
- tidy_load_config — Load an ASCII Tidy configuration file with the specified encoding
- tidy_reset_config — Restore Tidy configuration to default values
- tidy_save_config — Save current settings to named file
- tidy_set_encoding — Set the input/output character encoding for parsing markup
- tidy_setopt — Updates the configuration settings for the specified tidy document
- tidy_warning_count — Returns the Number of Tidy warnings encountered for specified document