PHP Класс Cml\dBug

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( mixed $var, string $forceType = "", boolean $bCollapsed = false ) 构造方法

Приватные методы

Метод Описание
checkType ( $var ) check variable type
closeTDRow ( ) close table row
error ( $type ) error
getVariableName ( ) get variable name
initJSandCSS ( )
makeTDHeader ( $type, $header ) create the table row header
makeTableHeader ( $type, $header, $colspan = 2 ) create the main table header
varIsArray ( $var ) if variable is an array type
varIsBoolean ( $var ) if variable is a boolean type
varIsDBResource ( $var, $db = "mysql" ) if variable is a database resource type
varIsGDResource ( $var ) if variable is an image/gd resource type
varIsNULL ( ) if variable is a NULL type
varIsObject ( $var ) if variable is an object type
varIsResource ( $var ) if variable is a resource type
varIsXml ( $var ) if variable is an xml type
varIsXmlResource ( $var ) if variable is an xml resource type
xmlCharacterData ( $parser, $data ) xml: initiated when text between tags is encountered
xmlDefaultHandler ( $parser, $data ) xml: initiated when a comment or other miscellaneous texts is encountered
xmlEndElement ( $parser, $name ) xml: initiated when an end tag is encountered
xmlParse ( $xml_parser, $data, $bFinal ) parse xml
xmlStartElement ( $parser, $name, $attribs ) xml: inititiated when a start tag is encountered

Описание методов

__construct() публичный Метод

构造方法
public __construct ( mixed $var, string $forceType = "", boolean $bCollapsed = false )
$var mixed 要打印的变量
$forceType string
$bCollapsed boolean