|
eZ Publish
[trunk]
|
Advanced debug/log system. More...
Public Member Functions | |
| __construct () | |
| errorHandler ($errno, $errstr, $errfile, $errline) | |
| isDebugAllowed () | |
| isGlobalLogFileEnabled () | |
| isLogFileEnabled ($type) | |
| logFiles () | |
| messageName ($messageType) | |
| messageTypes () | |
| recursionProtectErrorHandler ($errno, $errstr, $errfile, $errline) | |
| reset () | |
| setIsGlobalLogFileEnabled ($enabled) | |
| setIsLogFileEnabled ($type, $enabled) | |
| setLogOnly ($enabled) | |
| setMessageOutput ($output) | |
| setStoreLog ($store) | |
Static Public Member Functions | |
| static | accumulatorStart ($key, $inGroup=false, $name=false, $recursive=false) |
| static | accumulatorStop ($key, $recursive=false) |
| static | addTimingPoint ($description="") |
| static | alwaysLogMessage ($level) |
| static | appendBottomReport ($reportName, $reportContent) |
| static | appendTopReport ($reportName, $reportContent) |
| static | checkDebugByUser () |
| static | createAccumulator ($key, $inGroup=false, $name=false) |
| static | createAccumulatorGroup ($key, $name=false) |
| static | exceptionErrorHandler ($errno, $errstr, $errfile, $errline) |
| Exception based error handler, very basic. | |
| static | instance () |
| Returns a shared instance of the eZDebug class. | |
| static | isDebugEnabled () |
| static | isIPInNet ($ipaddress, $network, $mask=24) |
| static | isLogOnlyEnabled () |
| static | maxLogrotateFiles () |
| static | maxLogSize () |
| static | printBottomReportsList ($as_html=true) |
| Loop over all bottom reports and if callable call them with $as_html parameter, if not output as is (string). | |
| static | printReport ($newWindow=false, $as_html=true, $returnReport=false, $allowedDebugLevels=false, $useAccumulators=true, $useTiming=true, $useIncludedFiles=false) |
| static | printTopReportsList () |
| static | rotateLog ($fileName) |
| static | setHandleType ($type) |
| static | setLogFileEnabled ($enabled, $types=false) |
| static | setLogrotateFiles ($files) |
| static | setMaxLogSize ($size) |
| static | setScriptStart ($time=false) |
| static | setUseExternalCSS ($use) |
| static | showMessage ($type) |
| static | showTypes ($types=false) |
| static | timeToFloat ($mtime) |
| Returns the microtime as a float value. | |
| static | updateSettings ($settings) |
| static | writeDebug ($string, $label="", $backgroundClass="") |
| static | writeError ($string, $label="", $backgroundClass="") |
| static | writeNotice ($string, $label="", $backgroundClass="") |
| static | writeStrict ($string, $label="", $backgroundClass="") |
| static | writeWarning ($string, $label="", $backgroundClass="") |
Public Attributes | |
| $bottomReportsList | |
| A list of debug reports that appears at the bottom of debug output. | |
| $DebugStrings = array() | |
| String array containing the debug information. | |
| $GlobalLogFileEnabled | |
| Controls whether logfiles are used at all. | |
| $HandleType | |
| Determines what to do with php errors, ignore, fetch or output. | |
| $LogFileEnabled | |
| A map with message types and whether they should do file logging. | |
| $LogFiles | |
| An array of logfiles used by the debug class with each key being the debug level. | |
| $MessageOutput | |
| Determines how messages are output (screen/log) | |
| $MessageTypes | |
| A list of message types. | |
| $OutputFormat | |
| An array of the outputformats for the different debug levels. | |
| $OverrideList | |
| A list of override directories. | |
| $PercentAccuracy = 4 | |
| How many places behind . should be displayed when showing percentages. | |
| $ScriptStart | |
| The time when the script was started. | |
| $ShowTypes | |
| Determines which debug messages should be shown. | |
| $TimeAccumulatorList = array() | |
| Array wich contains time accumulators. | |
| $TimePoints = array() | |
| Array which contains the time points. | |
| $TimingAccuracy = 4 | |
| How many places behind . should be displayed when showing times. | |
| $TmpTimePoints | |
| Array which contains the temporary time points. | |
| $topReportsList | |
| A list of debug reports that appears at the top of debug output. | |
| $UseCSS | |
| Whether to use external CSS or output own CSS. True if external is to be used. | |
| const | HANDLE_EXCEPTION = 3 |
| const | HANDLE_FROM_PHP = 1 |
| const | HANDLE_NONE = 0 |
| const | HANDLE_TO_PHP = 2 |
| const | LEVEL_DEBUG = 5 |
| const | LEVEL_ERROR = 3 |
| const | LEVEL_NOTICE = 1 |
| const | LEVEL_STRICT = 6 |
| const | LEVEL_TIMING_POINT = 4 |
| const | LEVEL_WARNING = 2 |
| const | MAX_LOGFILE_SIZE = 204800 |
| const | MAX_LOGROTATE_FILES = 3 |
| const | OUTPUT_MESSAGE_SCREEN = 1 |
| const | OUTPUT_MESSAGE_STORE = 2 |
| const | SHOW_ALL = 63 |
| const | SHOW_DEBUG = 16 |
| const | SHOW_ERROR = 4 |
| const | SHOW_NOTICE = 1 |
| const | SHOW_STRICT = 32 |
| const | SHOW_TIMING_POINT = 8 |
| const | SHOW_WARNING = 2 |
| const | XDEBUG_SIGNATURE = '--XDEBUG--' |
Private Member Functions | |
| printReportInternal ($as_html=true, $returnReport=true, $allowedDebugLevels=false, $useAccumulators=true, $useTiming=true, $useIncludedFiles=false) | |
| write ($string, $verbosityLevel=self::LEVEL_NOTICE, $label="", $backgroundClass="", $alwaysLog=false) | |
| writeFile (&$logFileData, &$string, $verbosityLevel, $alwaysLog=false) | |
Static Private Member Functions | |
| static | dumpVariable ($var) |
| static | isAllowedByCurrentIP ($allowedIpList) |
Private Attributes | |
| $recursionFlag = false | |
Advanced debug/log system.
The eZ debug library is used to handle debug information. It can display information on screen and/or write it to log files.
You can enable on-screen debug information for specific IP addresses.
Timing points can be placed in the code to time the different sections of code.
Each debug message can be turned on/off by using the showTypes() function.
PHP error messages can also be shown using setHandleType().
// write a temporary debug message eZDebug::writeDebug( "Test" ); // write a notice eZDebug::writeNotice( "Image found" ); // write a warning eZDebug::writeWarning( "Image not found, using default" ); // write an error eZDebug::writeError( "Object not found, bailing.." ); // add a timing points eZDebug::addTimingPoint( "Module Found" ); //.... code eZDebug::addTimingPoint( "Module loading" ); // print the results on screen. eZDebug::printReport();
Definition at line 56 of file ezdebug.php.
Creates a new debug object.
Definition at line 89 of file ezdebug.php.
| static eZDebug::accumulatorStart | ( | $ | key, |
| $ | inGroup = false, |
||
| $ | name = false, |
||
| $ | recursive = false |
||
| ) | [static] |
Starts an time count for the accumulator $key. You can also specify a name which will be displayed.
Definition at line 1294 of file ezdebug.php.
Referenced by eZDFSFileHandlerMySQLBackend\_checkCacheGenerationTimeout(), eZDFSFileHandlerMySQLiBackend\_checkCacheGenerationTimeout(), eZDFSFileHandlerPostgresqlBackend\_checkCacheGenerationTimeout(), eZDBFileHandlerMysqlBackend\_checkCacheGenerationTimeout(), eZDBFileHandlerMysqliBackend\_checkCacheGenerationTimeout(), eZDFSFileHandlerMySQLBackend\_query(), eZDFSFileHandlerMySQLiBackend\_query(), eZDFSFileHandlerPostgresqlBackend\_query(), eZDBFileHandlerMysqlBackend\_query(), eZDBFileHandlerMysqliBackend\_query(), eZDBFileHandlerMysqliBackend\_selectOne(), eZDBFileHandlerMysqlBackend\_selectOne(), eZDFSFileHandlerMySQLBackend\_selectOne(), eZDFSFileHandlerMySQLiBackend\_selectOne(), eZDFSFileHandlerPostgresqlBackend\_selectOne(), eZImageAliasHandler\aliasList(), eZMySQLiDB\arrayQuery(), eZMySQLDB\arrayQuery(), eZContentCacheManager\clearContentCache(), eZContentCacheManager\clearContentCacheIfNeeded(), eZContentCacheManager\clearObjectViewCache(), eZContentObjectAttribute\contentClassAttribute(), eZContentObjectAttribute\contentClassAttributeCanTranslate(), eZContentObjectAttribute\contentClassAttributeIsInformationCollector(), eZContentObjectAttribute\contentClassAttributeIsRequired(), eZContentObjectAttribute\contentClassAttributeName(), eZTextCodec\convertCodepage(), eZTextCodec\convertCodepageMapper(), eZTextCodec\convertCodepageRev(), eZTextCodec\convertCodepageToUnicode(), eZTextCodec\convertMBString(), eZTextCodec\convertString(), eZTextCodec\convertUnicodeToCodepage(), eZTextCodec\convertUnicodeToUTF8(), eZTextCodec\convertUTF8ToUnicode(), eZFS2FileHandler\delete(), eZFSFileHandler\delete(), eZFS2FileHandler\endCacheGeneration(), eZTemplate\fetch(), eZFSFileHandler\fetchContents(), eZFSFileHandler\fileCopy(), eZFS2FileHandler\fileDelete(), eZFSFileHandler\fileDelete(), eZFS2FileHandler\fileDeleteByDirList(), eZFSFileHandler\fileDeleteByDirList(), eZFSFileHandler\fileDeleteByRegex(), eZFSFileHandler\fileDeleteByWildcard(), eZFSFileHandler\fileExists(), eZFSFileHandler\fileFetchContents(), eZFSFileHandler\fileLinkCopy(), eZFSFileHandler\fileMove(), eZFSFileHandler\fileStoreContents(), eZContentCacheManager\generateObjectViewCache(), eZTemplateDesignResource\handleResource(), eZTemplateFileResource\handleResourceData(), eZTSTranslator\initialize(), eZTemplate\loadAndRegisterFunctions(), eZINI\loadCache(), eZFSFileHandler\loadMetaData(), eZTSTranslator\loadTranslationFile(), eZFSFileHandler\move(), eZTemplateMultiPassParser\parse(), eZINI\parse(), eZINI\parseFile(), eZFSFileHandler\passthrough(), eZTemplateDebugFunction\process(), eZPostgreSQLDB\query(), eZMySQLiDB\query(), eZMySQLDB\query(), eZContentOperationCollection\registerSearchObject(), eZContentObject\stateIDArray(), eZContentObject\stateIdentifierArray(), and eZFSFileHandler\storeContents().
| static eZDebug::accumulatorStop | ( | $ | key, |
| $ | recursive = false |
||
| ) | [static] |
Stops a previous time count and adds the total time to the accumulator $key.
Definition at line 1321 of file ezdebug.php.
Referenced by eZDFSFileHandlerMySQLBackend\_query(), eZDFSFileHandlerMySQLiBackend\_query(), eZDFSFileHandlerPostgresqlBackend\_query(), eZDBFileHandlerMysqlBackend\_query(), eZDBFileHandlerMysqliBackend\_query(), eZDBFileHandlerMysqliBackend\_selectOne(), eZDBFileHandlerMysqlBackend\_selectOne(), eZDFSFileHandlerMySQLBackend\_selectOne(), eZDFSFileHandlerMySQLiBackend\_selectOne(), eZDFSFileHandlerPostgresqlBackend\_selectOne(), eZImageAliasHandler\aliasList(), eZMySQLiDB\arrayQuery(), eZMySQLDB\arrayQuery(), eZContentCacheManager\clearContentCache(), eZContentCacheManager\clearContentCacheIfNeeded(), eZContentCacheManager\clearObjectViewCache(), eZContentObjectAttribute\contentClassAttribute(), eZContentObjectAttribute\contentClassAttributeCanTranslate(), eZContentObjectAttribute\contentClassAttributeIsInformationCollector(), eZContentObjectAttribute\contentClassAttributeIsRequired(), eZContentObjectAttribute\contentClassAttributeName(), eZTextCodec\convertCodepage(), eZTextCodec\convertCodepageMapper(), eZTextCodec\convertCodepageRev(), eZTextCodec\convertCodepageToUnicode(), eZTextCodec\convertMBString(), eZTextCodec\convertString(), eZTextCodec\convertUnicodeToCodepage(), eZTextCodec\convertUnicodeToUTF8(), eZTextCodec\convertUTF8ToUnicode(), eZFS2FileHandler\delete(), eZFSFileHandler\delete(), eZFS2FileHandler\endCacheGeneration(), eZTemplate\fetch(), eZFSFileHandler\fetchContents(), eZFSFileHandler\fileCopy(), eZFS2FileHandler\fileDelete(), eZFSFileHandler\fileDelete(), eZFS2FileHandler\fileDeleteByDirList(), eZFSFileHandler\fileDeleteByDirList(), eZFSFileHandler\fileDeleteByRegex(), eZFSFileHandler\fileDeleteByWildcard(), eZFSFileHandler\fileExists(), eZFSFileHandler\fileFetchContents(), eZFSFileHandler\fileLinkCopy(), eZFSFileHandler\fileMove(), eZFSFileHandler\fileStoreContents(), eZContentCacheManager\generateObjectViewCache(), eZTemplateDesignResource\handleResource(), eZTemplateFileResource\handleResourceData(), eZTSTranslator\initialize(), eZTemplate\loadAndRegisterFunctions(), eZINI\loadCache(), eZFSFileHandler\loadMetaData(), eZTSTranslator\loadTranslationFile(), eZFSFileHandler\move(), eZTemplateMultiPassParser\parse(), eZINI\parse(), eZINI\parseFile(), eZFSFileHandler\passthrough(), eZTemplateDebugFunction\process(), eZPostgreSQLDB\query(), eZMySQLiDB\query(), eZMySQLDB\query(), eZContentOperationCollection\registerSearchObject(), eZContentObject\stateIDArray(), eZContentObject\stateIdentifierArray(), and eZFSFileHandler\storeContents().
| static eZDebug::addTimingPoint | ( | $ | description = "" | ) | [static] |
Adds a new timing point for the benchmark report.
Definition at line 674 of file ezdebug.php.
Referenced by eZTemplate\fetch(), eZTemplateMultiPassParser\parseIntoTextElements(), eZTemplateMultiPassParser\parseIntoTree(), eZTemplateMultiPassParser\parseWhitespaceRemoval(), and eZTemplateDebugFunction\process().
| static eZDebug::alwaysLogMessage | ( | $ | level | ) | [static] |
true if the debug level $level should always log to file. Definition at line 222 of file ezdebug.php.
Referenced by writeDebug(), writeError(), writeNotice(), writeStrict(), and writeWarning().
| static eZDebug::appendBottomReport | ( | $ | reportName, |
| $ | reportContent | ||
| ) | [static] |
Appends report to 'bottom' reports list.
Definition at line 1758 of file ezdebug.php.
Referenced by eZDisplayDebug().
| static eZDebug::appendTopReport | ( | $ | reportName, |
| $ | reportContent | ||
| ) | [static] |
Appends report to 'top' reports list.
Definition at line 1736 of file ezdebug.php.
Referenced by eZDisplayDebug().
| static eZDebug::checkDebugByUser | ( | ) | [static] |
Final checking for debug by user id. Checks if we should enable debug.
Returns false if debug-by-user is not active, was already checked before or if there is no current user. Returns true otherwise.
Definition at line 1118 of file ezdebug.php.
| static eZDebug::createAccumulator | ( | $ | key, |
| $ | inGroup = false, |
||
| $ | name = false |
||
| ) | [static] |
Creates a new accumulator entry if one does not already exist and initializes with default data. If $name is not supplied name is taken from $key. If $inGroup is supplied it will place the accumulator under the specified group.
Definition at line 1266 of file ezdebug.php.
| static eZDebug::createAccumulatorGroup | ( | $ | key, |
| $ | name = false |
||
| ) | [static] |
Creates an accumulator group with key $key and group name $name. If $name is not supplied name is taken from $key.
Definition at line 1247 of file ezdebug.php.
Referenced by eZMySQLDB\eZMySQLDB(), eZMySQLiDB\eZMySQLiDB(), eZTemplate\eZTemplate(), eZTSTranslator\initialize(), eZContentOperationCollection\publishNode(), and eZContentOperationCollection\registerSearchObject().
| static eZDebug::dumpVariable | ( | $ | var | ) | [static, private] |
Dumps the variables contents using the var_dump function
Definition at line 627 of file ezdebug.php.
Referenced by writeDebug(), writeError(), writeNotice(), writeStrict(), eZPaymentLogger\writeString(), eZPaymentLogger\writeTimedString(), and writeWarning().
| eZDebug::errorHandler | ( | $ | errno, |
| $ | errstr, | ||
| $ | errfile, | ||
| $ | errline | ||
| ) |
Handles PHP errors, creates notice, warning and error messages for the various PHP error types.
Definition at line 328 of file ezdebug.php.
Referenced by recursionProtectErrorHandler().
| static eZDebug::exceptionErrorHandler | ( | $ | errno, |
| $ | errstr, | ||
| $ | errfile, | ||
| $ | errline | ||
| ) | [static] |
Exception based error handler, very basic.
| ErrorException |
Definition at line 1837 of file ezdebug.php.
| static eZDebug::instance | ( | ) | [static] |
Returns a shared instance of the eZDebug class.
Definition at line 200 of file ezdebug.php.
Referenced by ezpRestDebug\__construct(), accumulatorStart(), accumulatorStop(), addTimingPoint(), alwaysLogMessage(), appendBottomReport(), appendTopReport(), createAccumulator(), createAccumulatorGroup(), eZDebugSetting\isConditionTrue(), printBottomReportsList(), printReport(), printTopReportsList(), setHandleType(), setLogFileEnabled(), setScriptStart(), setUseExternalCSS(), showMessage(), showTypes(), writeDebug(), writeError(), writeFile(), writeNotice(), writeStrict(), and writeWarning().
| static eZDebug::isAllowedByCurrentIP | ( | $ | allowedIpList | ) | [static, private] |
If debugging is allowed for the current IP address.
Definition at line 1798 of file ezdebug.php.
Referenced by updateSettings().
If debugging is allowed, given the limitations of the DebugByIP and DebugByUser settings.
Definition at line 1790 of file ezdebug.php.
| static eZDebug::isDebugEnabled | ( | ) | [static] |
Definition at line 1015 of file ezdebug.php.
Referenced by accumulatorStart(), accumulatorStop(), addTimingPoint(), createAccumulator(), createAccumulatorGroup(), eZExecution\defaultExceptionHandler(), errorHandler(), eZFatalError(), eZScript\shutdown(), write(), writeDebug(), writeError(), writeFile(), writeNotice(), writeStrict(), and writeWarning().
Definition at line 962 of file ezdebug.php.
Referenced by isLogFileEnabled().
| static eZDebug::isIPInNet | ( | $ | ipaddress, |
| $ | network, | ||
| $ | mask = 24 |
||
| ) | [static] |
Determine if an ipaddress is in a network. E.G. 120.120.120.120 in 120.120.0.0/24.
Definition at line 1045 of file ezdebug.php.
Referenced by eZUser\isUserIPInList().
| eZDebug::isLogFileEnabled | ( | $ | type | ) |
Definition at line 951 of file ezdebug.php.
Referenced by write(), and writeFile().
| static eZDebug::isLogOnlyEnabled | ( | ) | [static] |
Definition at line 1030 of file ezdebug.php.
Referenced by write().
Returns an associative array of all the log files used by this class where each key is the debug level (self::LEVEL_NOTICE, self::LEVEL_WARNING or self::LEVEL_ERROR or self::LEVEL_DEBUG).
Definition at line 1005 of file ezdebug.php.
Referenced by write().
| static eZDebug::maxLogrotateFiles | ( | ) | [static] |
Definition at line 807 of file ezdebug.php.
Referenced by rotateLog().
| static eZDebug::maxLogSize | ( | ) | [static] |
Definition at line 785 of file ezdebug.php.
Referenced by writeFile().
| eZDebug::messageName | ( | $ | messageType | ) |
Definition at line 190 of file ezdebug.php.
Definition at line 996 of file ezdebug.php.
| static eZDebug::printBottomReportsList | ( | $ | as_html = true | ) | [static] |
Loop over all bottom reports and if callable call them with $as_html parameter, if not output as is (string).
| bool | $as_html |
Definition at line 1770 of file ezdebug.php.
Referenced by printReportInternal().
| static eZDebug::printReport | ( | $ | newWindow = false, |
| $ | as_html = true, |
||
| $ | returnReport = false, |
||
| $ | allowedDebugLevels = false, |
||
| $ | useAccumulators = true, |
||
| $ | useTiming = true, |
||
| $ | useIncludedFiles = false |
||
| ) | [static] |
Prints the debug report
Definition at line 1158 of file ezdebug.php.
Referenced by eZDisplayDebug(), eZFatalError(), eZDBInterface\reportError(), and eZScript\shutdown().
| eZDebug::printReportInternal | ( | $ | as_html = true, |
| $ | returnReport = true, |
||
| $ | allowedDebugLevels = false, |
||
| $ | useAccumulators = true, |
||
| $ | useTiming = true, |
||
| $ | useIncludedFiles = false |
||
| ) | [private] |
Prints a full debug report with notice, warnings, errors and a timing report.
Definition at line 1356 of file ezdebug.php.
Referenced by ezpRestDebug\getReport().
| static eZDebug::printTopReportsList | ( | ) | [static] |
Prints all 'top' reports
Definition at line 1745 of file ezdebug.php.
Referenced by printReportInternal().
| eZDebug::recursionProtectErrorHandler | ( | $ | errno, |
| $ | errstr, | ||
| $ | errfile, | ||
| $ | errline | ||
| ) |
Definition at line 308 of file ezdebug.php.
| eZDebug::reset | ( | ) |
Definition at line 173 of file ezdebug.php.
| static eZDebug::rotateLog | ( | $ | fileName | ) | [static] |
Rotates logfiles so the current logfile is backed up, old rotate logfiles are rotated once more and those that exceed maxLogrotateFiles() will be removed. Rotated files will get the extension .1, .2 etc.
Definition at line 832 of file ezdebug.php.
Referenced by writeFile().
| static eZDebug::setHandleType | ( | $ | type | ) | [static] |
Determines how PHP errors are handled. If $type is self::HANDLE_TO_PHP all error messages is sent to PHP using trigger_error(), if $type is self::HANDLE_FROM_PHP all error messages from PHP is fetched using a custom error handler and output as a usual eZDebug message. If $type is self::HANDLE_NONE there is no error exchange between PHP and eZDebug.
Definition at line 246 of file ezdebug.php.
Referenced by eZMySQLDB\connect(), eZMySQLiDB\connect(), eZFatalError(), eZPostgreSQLDB\eZPostgreSQLDB(), eZScript\initialize(), eZPostgreSQLDB\query(), eZDBInterface\reportError(), eZScript\startup(), updateSettings(), and writeFile().
| eZDebug::setIsGlobalLogFileEnabled | ( | $ | enabled | ) |
Sets whether logfiles are enabled or disabled globally. Sets the value to $enabled.
Definition at line 980 of file ezdebug.php.
| eZDebug::setIsLogFileEnabled | ( | $ | type, |
| $ | enabled | ||
| ) |
Sets whether the logfile $type is enabled or disabled to $enabled.
Definition at line 971 of file ezdebug.php.
| static eZDebug::setLogFileEnabled | ( | $ | enabled, |
| $ | types = false |
||
| ) | [static] |
Enables or disables logging to file for a given message type. If $types is not supplied it will do the operation for all types.
Definition at line 930 of file ezdebug.php.
Referenced by writeFile().
| eZDebug::setLogOnly | ( | $ | enabled | ) |
Sets whether debug output should be logged only
Definition at line 988 of file ezdebug.php.
| static eZDebug::setLogrotateFiles | ( | $ | files | ) | [static] |
Sets the maxium number of logrotate files to keep to $files.
Definition at line 820 of file ezdebug.php.
| static eZDebug::setMaxLogSize | ( | $ | size | ) | [static] |
Sets the maxium size for a log file to $size.
Definition at line 798 of file ezdebug.php.
| eZDebug::setMessageOutput | ( | $ | output | ) |
Determines the way messages are output, the $output parameter is self::OUTPUT_MESSAGE_SCREEN and self::OUTPUT_MESSAGE_STORE ored together.
Definition at line 661 of file ezdebug.php.
| static eZDebug::setScriptStart | ( | $ | time = false | ) | [static] |
Sets the time of the start of the script ot $time. If $time is not supplied it gets the current microtime( true ). This is used to calculate total execution time and percentages.
Definition at line 1235 of file ezdebug.php.
| eZDebug::setStoreLog | ( | $ | store | ) |
Definition at line 666 of file ezdebug.php.
| static eZDebug::setUseExternalCSS | ( | $ | use | ) | [static] |
Enables/disables the use of external CSS. If false a <style> tag is output before the debug list. Default is to use internal css.
Definition at line 652 of file ezdebug.php.
| static eZDebug::showMessage | ( | $ | type | ) | [static] |
Returns true if the message type $type can be shown.
Definition at line 213 of file ezdebug.php.
Referenced by addTimingPoint(), writeDebug(), writeError(), writeNotice(), writeStrict(), and writeWarning().
| static eZDebug::showTypes | ( | $ | types = false | ) | [static] |
Sets types to be shown to $types and returns the old show types. If $types is not supplied the current value is returned and no change is done. $types is one or more of self::SHOW_NOTICE, self::SHOW_WARNING, self::SHOW_ERROR, self::SHOW_TIMING_POINT or'ed together.
Definition at line 295 of file ezdebug.php.
| static eZDebug::timeToFloat | ( | $ | mtime | ) | [static] |
Returns the microtime as a float value.
$mtime must be in microtime() format.
Definition at line 1222 of file ezdebug.php.
| static eZDebug::updateSettings | ( | $ | settings | ) | [static] |
Updates the settings for debug handling with the settings array $settings. The array must contain the following keys.
Definition at line 1066 of file ezdebug.php.
Referenced by eZUpdateDebugSettings(), ezpRestDebug\updateDebugSettings(), and eZScript\updateDebugSettings().
| eZDebug::write | ( | $ | string, |
| $ | verbosityLevel = self::LEVEL_NOTICE, |
||
| $ | label = "", |
||
| $ | backgroundClass = "", |
||
| $ | alwaysLog = false |
||
| ) | [private] |
Writes a debug log message.
Definition at line 712 of file ezdebug.php.
| static eZDebug::writeDebug | ( | $ | string, |
| $ | label = "", |
||
| $ | backgroundClass = "" |
||
| ) | [static] |
Writes a debug message.
The global variable 'eZDebugDebug' will be set to true if the notice is added.
| $label | This label will be associated with the notice, e.g. to say where the notice came from. |
Definition at line 586 of file ezdebug.php.
Referenced by eZDBFileHandlerMysqliBackend\_getFileList(), eZDBFileHandlerMysqlBackend\_getFileList(), eZDFSFileHandlerPostgresqlBackend\_getFileList(), eZDFSFileHandlerMySQLBackend\_getFileList(), eZDFSFileHandlerMySQLiBackend\_getFileList(), eZDFSFileHandlerMySQLBackend\_startCacheGeneration(), eZDFSFileHandlerMySQLiBackend\_startCacheGeneration(), eZDBFileHandlerMysqlBackend\_startCacheGeneration(), eZDBFileHandlerMysqliBackend\_startCacheGeneration(), checkNodeMovements(), eZDefaultVATHandler\chooseVatType(), eZContentClassPackageHandler\classDOMTree(), eZContentCacheManager\clearObjectViewCache(), copyPublishContentObject(), copySubtree(), eZImageManager\createImageAlias(), eZImageAliasHandler\createImageInformationNode(), eZMySQLiDB\escapeString(), eZTemplate\fetch(), eZContentFunctionCollection\fetchReverseRelatedObjects(), eZContentObjectPackageInstaller\finalize(), eZSearch\getEngine(), eZVATManager\getUserCountry(), eZSimplifiedXMLInput\inputXML(), eZDBPackageHandler\install(), eZPackage\install(), eZCodePageMapper\load(), eZXMLInputParser\process(), eZTemplateDebugFunction\process(), eZDBFileHandler\processCache(), eZTemplate\processFunction(), eZXMLInputParser\processNewElements(), eZTemplate\processOperator(), eZXMLInputParser\processSubtree(), eZTemplate\processURI(), eZDBInterface\reportQuery(), eZTemplateTreeCache\restoreCache(), eZObjectRelationListType\serializeContentObjectAttribute(), eZTemplateTreeCache\setCachedTree(), eZImageGDHandler\setImageColorThresholdName(), eZImageGDHandler\setImageLuminanceNamed(), eZContentObjectAssignmentHandler\setupAssignments(), eZSimplePrice\setVATType(), eZTemplateTreeCache\storeCache(), eZPersistentObject\storeObject(), ezpI18n\translateText(), and eZContentCacheManager\writeDebugBits().
| static eZDebug::writeError | ( | $ | string, |
| $ | label = "", |
||
| $ | backgroundClass = "" |
||
| ) | [static] |
Writes a debug error.
The global variable 'eZDebugError' will be set to true if the notice is added.
| $label | This label will be associated with the notice, e.g. to say where the notice came from. |
Definition at line 543 of file ezdebug.php.
Referenced by eZDB\__construct(), eZDFSFileHandlerPostgresqlBackend\_connect(), eZDBFileHandlerMysqliBackend\_copyInner(), eZDBFileHandlerMysqlBackend\_copyInner(), eZDBFileHandlerMysqliBackend\_deleteByDirListInner(), eZDBFileHandlerMysqlBackend\_deleteByDirListInner(), eZDFSFileHandlerPostgresqlBackend\_deleteByDirListInner(), eZDFSFileHandlerMySQLBackend\_deleteByDirListInner(), eZDFSFileHandlerMySQLiBackend\_deleteByDirListInner(), eZDBFileHandlerMysqliBackend\_die(), eZDBFileHandlerMysqlBackend\_die(), eZDFSFileHandlerPostgresqlBackend\_die(), eZDFSFileHandlerMySQLBackend\_die(), eZDFSFileHandlerMySQLiBackend\_die(), eZDFSFileHandlerMySQLBackend\_endCacheGeneration(), eZDFSFileHandlerMySQLiBackend\_endCacheGeneration(), eZDBFileHandlerMysqlBackend\_endCacheGeneration(), eZDBFileHandlerMysqliBackend\_endCacheGeneration(), eZDFSFileHandlerMySQLBackend\_error(), eZDFSFileHandlerMySQLiBackend\_error(), eZDFSFileHandlerPostgresqlBackend\_error(), eZDBFileHandlerMysqlBackend\_error(), eZDBFileHandlerMysqliBackend\_error(), eZDBFileHandlerMysqliBackend\_fetch(), eZDBFileHandlerMysqlBackend\_fetch(), eZDFSFileHandlerPostgresqlBackend\_fetch(), eZDFSFileHandlerMySQLBackend\_fetch(), eZDFSFileHandlerMySQLiBackend\_fetch(), eZDBFileHandlerMysqliBackend\_fetchContents(), eZDBFileHandlerMysqlBackend\_fetchContents(), eZDFSFileHandlerPostgresqlBackend\_fetchContents(), eZDFSFileHandlerMySQLBackend\_fetchContents(), eZDFSFileHandlerMySQLiBackend\_fetchContents(), eZDFSFileHandlerMySQLBackend\_handleErrorType(), eZDFSFileHandlerMySQLiBackend\_handleErrorType(), eZDFSFileHandlerPostgresqlBackend\_handleErrorType(), eZDBFileHandlerMysqlBackend\_handleErrorType(), eZDBFileHandlerMysqliBackend\_handleErrorType(), eZDBFileHandlerMysqliBackend\_passThrough(), eZDBFileHandlerMysqlBackend\_passThrough(), eZDFSFileHandlerMySQLBackend\_protect(), eZDFSFileHandlerPostgresqlBackend\_protect(), eZDFSFileHandlerMySQLiBackend\_protect(), eZDBFileHandlerMysqlBackend\_protect(), eZDBFileHandlerMysqliBackend\_protect(), eZDBFileHandlerMysqliBackend\_rename(), eZDBFileHandlerMysqlBackend\_rename(), eZDFSFileHandlerPostgresqlBackend\_rename(), eZDFSFileHandlerMySQLBackend\_rename(), eZDFSFileHandlerMySQLiBackend\_rename(), eZPHPCreator\_restoreCall(), eZDBFileHandlerMysqliBackend\_selectOne(), eZDBFileHandlerMysqlBackend\_selectOne(), eZDFSFileHandlerMySQLBackend\_selectOne(), eZDFSFileHandlerMySQLiBackend\_selectOne(), eZDFSFileHandlerPostgresqlBackend\_selectOne(), eZDFSFileHandlerMySQLBackend\_startCacheGeneration(), eZDFSFileHandlerMySQLiBackend\_startCacheGeneration(), eZDBFileHandlerMysqlBackend\_startCacheGeneration(), eZDBFileHandlerMysqliBackend\_startCacheGeneration(), eZDBFileHandlerMysqliBackend\_store(), eZDBFileHandlerMysqlBackend\_store(), eZDFSFileHandlerPostgresqlBackend\_store(), eZDFSFileHandlerMySQLBackend\_store(), eZDFSFileHandlerMySQLiBackend\_store(), eZModule\accessAllowed(), eZModule\actionParameter(), eZURLAliasML\actionToUrl(), eZUserOperationCollection\activation(), eZExtension\activeExtensions(), eZContentObject\addContentObjectRelation(), eZContentLanguage\addLanguage(), eZCollaborationItemMessageLink\addMessage(), eZSearchEngine\addObject(), Cpdf\addPngFromFile(), eZShopOperationCollection\addToBasket(), eZImageInterface\allocateColor(), eZPolicyLimitation\allValuesAsArrayWithNames(), eZCodeTemplate\apply(), eZWaitUntilDate\attribute(), eZKeyword\attribute(), eZXMLText\attribute(), eZNotificationEventHandler\attribute(), eZContentObjectTranslation\attribute(), eZEnum\attribute(), eZBinaryFileHandler\attribute(), eZXMLInputHandler\attribute(), eZRangeOption\attribute(), eZMatrixDefinition\attribute(), eZCollaborationItemHandler\attribute(), eZSysInfo\attribute(), eZContentBrowse\attribute(), eZXMLOutputHandler\attribute(), eZNotificationEventType\attribute(), eZWizardBase\attribute(), eZDiffContent\attribute(), eZContentUpload\attribute(), eZDate\attribute(), eZImageInterface\attribute(), eZTemplateSectionIterator\attribute(), eZOption\attribute(), ezpRestClient\attribute(), eZPackageInstallationHandler\attribute(), eZPackageCreationHandler\attribute(), eZSimplePrice\attribute(), eZDateTime\attribute(), eZTime\attribute(), eZAuthor\attribute(), eZHTTPFile\attribute(), eZDBInterface\attribute(), eZWorkflowType\attribute(), eZPackage\attribute(), eZDataType\attribute(), eZMultiOption\attribute(), eZMultiOption2\attribute(), eZLocale\attribute(), eZURI\attribute(), eZMatrix\attribute(), eZModule\attribute(), eZSys\attribute(), eZPersistentObject\attribute(), eZContentBrowse\browse(), eZContentObjectTreeNode\calendar(), eZPDFTable\callImage(), eZSearchEngine\callMethod(), eZOrder\canModifyStatus(), eZImageHandler\changeFilePermissions(), eZSSLZone\checkModuleView(), checkNodeAssignments(), eZSSLZone\checkNodeID(), checkNodeMovements(), eZSSLZone\checkObject(), eZDB\checkTransactionCounter(), eZDefaultVATHandler\chooseVatType(), eZExecution\cleanup(), eZContentObject\cleanupAllInternalDrafts(), eZContentObject\cleanupInternalDrafts(), eZCache\clearItem(), eZFileHandler\close(), eZImageInterface\color(), eZDBInterface\commit(), eZPersistentObject\conditionTextByRow(), eZMySQLDB\connect(), eZMySQLiDB\connect(), eZDataType\contentActionList(), contentPDFPassthrough(), eZPaymentObject\continueWorkflow(), eZImageShellHandler\convert(), eZImageGDHandler\convert(), eZImageManager\convert(), eZFileHandler\copy(), eZDir\copy(), copyObject(), copyPublishContentObject(), copySubtree(), eZExchangeRatesUpdateHandler\create(), eZNodeAssignment\create(), eZImageManager\createAliasFromINI(), eZContentFunctions\createAndPublishObject(), eZContentObjectTreeNode\createAttributeFilterSQLStrings(), eZWizardBaseClassLoader\createClass(), eZContentObjectTreeNode\createExtendedAttributeFilterSQLStrings(), eZContentOperationCollection\createFeedForNode(), ezpAttributeOperatorManager\createFormatter(), eZImageTextLayer\createForText(), eZImageShellHandler\createFromINI(), eZImageGDHandler\createFromINI(), eZImageManager\createImageAlias(), eZObjectRelationListType\createNewObject(), eZContentObjectTreeNode\createSortingSQLStrings(), eZWorkflowType\createType(), eZINIAddonPackageHandler\currentID(), eZEnumType\customClassAttributeHTTPAction(), eZMatrixType\customClassAttributeHTTPAction(), eZObjectRelationType\customClassAttributeHTTPAction(), eZObjectRelationListType\customClassAttributeHTTPAction(), eZMatrixType\customObjectAttributeHTTPAction(), eZOptionType\customObjectAttributeHTTPAction(), eZAuthorType\customObjectAttributeHTTPAction(), eZMultiPriceType\customObjectAttributeHTTPAction(), eZMultiOptionType\customObjectAttributeHTTPAction(), eZMultiOption2Type\customObjectAttributeHTTPAction(), eZObjectRelationType\customObjectAttributeHTTPAction(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZWaitUntilDateType\customWorkflowEventHTTPAction(), eZPostgreSQLDB\databaseServerVersion(), eZCodeMapper\decodeCommand(), eZTemplateCacheBlock\decodeNodeID(), eZSOAPResponse\decodeStream(), eZFSFileHandler\delete(), eZGZIPZLIBCompressionHandler\doSeek(), eZFile\downloadContent(), eZFile\downloadHeaders(), eZDFSFileHandler\endCacheGeneration(), eZSys\environmentVariable(), eZFileHandler\eof(), eZCodeMapper\error(), eZTemplate\error(), errorHandler(), eZOperationHandler\execute(), eZModuleOperationInfo\execute(), eZFunctionHandler\execute(), eZModuleFunctionInfo\execute(), eZFunctionHandler\executeAlias(), eZModuleOperationInfo\executeBody(), eZCodeMapper\executeCommandCode(), eZTemplateCompiler\executeCompilation(), eZCodeMapper\expandInheritance(), eZContentClassAttribute\eZContentClassAttribute(), eZLocale\eZLocale(), eZMBStringMapper\eZMBStringMapper(), eZPostgreSQLDB\eZPostgreSQLDB(), eZSetupRunTests(), eZTextCodec\eZTextCodec(), eZHTTPFile\fetch(), eZContentObject\fetch(), eZPendingActions\fetchByAction(), eZContentObject\fetchByNodeID(), eZContentLanguage\fetchList(), eZUser\fetchLoggedInList(), eZObjectRelationListType\fetchObjectAttributeHTTPInput(), eZMediaType\fetchObjectAttributeHTTPInput(), eZBinaryFileType\fetchObjectAttributeHTTPInput(), eZContentObjectPackageHandler\fetchObjectFromFile(), eZURLAliasML\fetchPathByActionList(), eZWorkflowType\fetchRegisteredTypes(), eZContentFunctionCollection\fetchRelatedObjects(), eZContentFunctionCollection\fetchRelatedObjectsCount(), eZContentFunctionCollection\fetchReverseRelatedObjects(), eZContentFunctionCollection\fetchReverseRelatedObjectsCount(), eZContentFunctionCollection\fetchSameClassAttributeNodeList(), eZPgsqlSchema\fetchTableIndexes(), eZTemplateExecuteOperator\fetchTransform(), eZFSFileHandler\fileDelete(), eZFSFileHandler\fileDeleteByRegex(), eZContentUpload\findHandler(), eZContentObjectTreeNode\findMainNode(), eZFileHandler\flush(), eZUserOperationCollection\forgotpassword(), eZMutex\fp(), eZPgsqlSchema\generateAddIndexSql(), eZCodeMapper\generateCharsetMappingTable(), eZCodeMapper\generateCommandCode(), generateDefaultTemplate(), eZRSSExport\generateFeed(), eZContentObjectPackageHandler\generateFetchAliasArray(), eZStaticCache\generateNodeListCache(), generateNodeViewTemplate(), generateObjectViewTemplate(), generatePagelayoutTemplate(), eZURLAliasQuery\generateSQL(), eZFile\getContents(), eZExtension\getHandlerClass(), ezpExtension\getInfo(), ezpExtension\getLoadingOrder(), eZLDAPUser\getNodeAssignmentsForGroupName(), eZDefaultVATHandler\getProductCategory(), eZSSLZone\getSSLZones(), eZVATManager\getUserCountry(), eZVATManager\getUserCountryAttributeName(), eZLDAPUser\getUserGroupsTree(), eZLDAPUser\goAndPublishGroups(), eZINI\group(), eZCharTransform\groupCommands(), eZCollaborationItemHandler\handleCollaborationEvent(), eZTSTranslator\handleContextNode(), eZFilePassthroughHandler\handleFileDownload(), eZTSTranslator\handleMessageNode(), eZSubTreeHandler\handlePublishEvent(), eZShopOperationCollection\handleUserCountry(), eZUser\hasAccessToView(), eZPackage\import(), eZContentObjectEditHandler\initialize(), eZImageAliasHandler\initializeFromFile(), eZDBInterface\insertFile(), eZDBSchemaInterface\insertSchema(), eZDBPackageHandler\install(), eZPackage\installItem(), eZContentObjectPackageHandler\installOverrides(), eZContentObjectPackageHandler\installSuspendedNodeAssignment(), eZContentObjectPackageHandler\installSuspendedObjectRelations(), eZDbSchema\instance(), eZNotificationTransport\instance(), eZDB\instance(), eZBinaryFileHandler\instance(), eZPostgreSQLDB\lastSerialID(), eZFileHandler\link(), eZCodePageMapper\load(), eZImageInterface\load(), eZNotificationEventType\loadAndRegisterType(), eZWorkflowType\loadAndRegisterType(), eZDataType\loadAndRegisterType(), eZShippingManager\loadBasketInfoHandler(), eZINI\loadCache(), eZModuleFunctionInfo\loadDefinition(), eZModuleOperationInfo\loadDefinition(), eZNotificationEventFilter\loadHandler(), eZDBSchemaInterface\loadSchemaTransformationRules(), eZShippingManager\loadShippingHandler(), eZVATManager\loadVATHandler(), eZLDAPUser\loginUser(), eZSiteAccess\match(), eZPackage\md5sum(), eZWordToImageOperator\modify(), eZPDF\modify(), eZTopMenuOperator\modify(), eZKernelOperator\modify(), eZTemplateImageOperator\modify(), eZTemplateTextOperator\modify(), eZContentObjectTreeNodeOperations\move(), eZFileHandler\move(), eZContentOperationCollection\moveNode(), eZContentObjectAssignmentHandler\nodeID(), eZIniSettingType\onPublish(), eZFileHandler\open(), eZPHPCreator\open(), eZINI\parseFile(), eZCLI\parseOptionString(), eZFileHandler\passtrough(), eZUserOperationCollection\password(), eZContentObjectTreeNode\pathWithNames(), eZSOAPRequest\payload(), precheckAllowed(), eZModuleFunctionInfo\preExecute(), eZNotificationEventFilter\process(), eZGIFImageAnalyzer\process(), eZURLAliasFilterAppendNodeID\process(), eZTemplateWhileFunction\process(), eZTemplateDoFunction\process(), eZTemplateIfFunction\process(), eZFS2FileHandler\processCache(), eZDBFileHandler\processCache(), eZFSFileHandler\processCache(), eZDFSFileHandler\processCache(), eZURLAliasFilter\processFilters(), eZTemplate\processNode(), eZTemplate\processURI(), eZContentOperationCollection\publishNode(), eZLDAPUser\publishUpdateUser(), eZUserOperationCollection\publishUserContentObject(), eZImageAliasHandler\purgeAllAliases(), eZPostgreSQLDB\query(), eZMySQLiDB\query(), eZMySQLDB\query(), eZDbSchema\read(), eZFileHandler\read(), eZModule\redirect(), eZModule\redirectionURI(), eZPaymentGatewayType\registerGateway(), eZTranslatorGroup\registerHandler(), eZContentOperationCollection\registerSearchObject(), eZWorkflowType\registerType(), eZPostgreSQLDB\relationCount(), eZMySQLiDB\relationCount(), eZMySQLDB\relationCount(), eZPostgreSQLDB\relationList(), eZMySQLiDB\relationList(), eZMySQLDB\relationList(), eZImageAliasHandler\removeAliases(), eZContentOperationCollection\removeFeedForNode(), eZINI\removeOverrideDir(), eZPostgreSQLDB\removeRelation(), eZMySQLiDB\removeRelation(), eZMySQLDB\removeRelation(), eZObjectRelationListType\removeRelationObject(), eZPathElement\removeThis(), eZContentClassAttribute\removeThis(), eZContentOperationCollection\removeTranslation(), eZUser\removeUser(), eZContentObjectVersion\removeVersions(), eZSiteInstaller\reportError(), eZDBInterface\reportError(), eZContentObject\restoreObjectAttributes(), eZContentBrowse\result(), eZStepSiteTypes\retrieveRemotePackagesList(), eZURLAliasML\reverseTranslate(), eZFileHandler\rewind(), eZDBInterface\rollback(), eZPackageInstallationHandler\rootDOMNode(), eZWorkflowProcess\run(), eZModule\run(), eZModule\runHooks(), eZINI\save(), eZINI\saveCache(), sectionEditActionCheck(), eZFileHandler\seek(), eZMailNotificationTransport\send(), eZMailTransport\send(), eZFileTransport\sendMail(), eZSMTPTransport\sendMail(), eZSendmailTransport\sendMail(), eZContentOperationCollection\sendToPublishingQueue(), eZDateTimeType\serializeContentClassAttribute(), eZDataType\serializeContentObjectAttribute(), eZObjectRelationListType\serializeContentObjectAttribute(), eZSys\serverVariable(), eZSimplePrice\setAttribute(), eZPersistentObject\setAttribute(), eZURLAliasML\setLangMaskAlwaysAvailable(), eZUserOperationCollection\setSettings(), eZCurrencyData\setStatus(), eZCodePageMapper\setSubstituteCharacter(), eZVATManager\setUserCountry(), eZPreferences\setValue(), eZDFSFileHandler\startCacheGeneration(), eZOrder\statusModificationList(), eZContentClassNameList\store(), eZHTTPFile\store(), eZPathElement\store(), eZWorkflowEvent\store(), eZImageInterface\store(), eZPHPCreator\store(), eZFS2FileHandler\storeCache(), eZStaticCache\storeCache(), eZFSFileHandler\storeCache(), eZDBFileHandler\storeCache(), eZDFSFileHandler\storeCache(), eZWorkflowEvent\storeDefined(), eZPackage\storeDOM(), eZImageAliasHandler\storeDOMTree(), eZURLAliasML\storePath(), eZPackage\storeString(), eZContentObjectTreeNode\subTreeByNodeID(), eZContentObjectTreeNode\subTreeGroupByDateField(), eZContentObjectTreeNode\subTreeMultiPaths(), eZFileHandler\symlink(), eZFileHandler\tell(), eZExpiryHandler\timestamp(), eZURLWildcard\translate(), eZURLWildcard\translateWithCache(), eZExecution\uncleanShutdownHandler(), eZContentObjectTreeNode\unhideSubTree(), eZPackage\uninstallItem(), eZFileHandler\unlink(), eZContentObjectTreeNode\unserialize(), eZDateTimeType\unserializeContentClassAttribute(), eZEnumType\unserializeContentObjectAttribute(), eZBinaryFileType\unserializeContentObjectAttribute(), eZDataType\unserializeContentObjectAttribute(), eZContentFunctions\updateAndPublishObject(), updateAutoload(), eZShopFunctions\updateAutoRates(), eZContentObjectTreeNode\updatePathIdentificationString(), eZContentObjectTreeNode\updateSubTreePath(), eZINI\variable(), eZINI\variableMulti(), eZLog\write(), eZFileHandler\write(), writeFile(), and eZLog\writeStorageLog().
| eZDebug::writeFile | ( | &$ | logFileData, |
| &$ | string, | ||
| $ | verbosityLevel, | ||
| $ | alwaysLog = false |
||
| ) | [private] |
Writes the log message $string to the file $fileName.
Definition at line 867 of file ezdebug.php.
Referenced by write().
| static eZDebug::writeNotice | ( | $ | string, |
| $ | label = "", |
||
| $ | backgroundClass = "" |
||
| ) | [static] |
Writes a debug notice.
The global variable 'eZDebugNotice' will be set to true if the notice is added.
| $label | This label will be associated with the notice, e.g. to say where the notice came from. |
| $backgroundClass | A string defining the class to use in the HTML debug output. |
Definition at line 457 of file ezdebug.php.
Referenced by eZDFSFileHandlerMySQLBackend\_report(), eZDFSFileHandlerMySQLiBackend\_report(), eZDFSFileHandlerPostgresqlBackend\_report(), eZDBFileHandlerMysqlBackend\_report(), eZDBFileHandlerMysqliBackend\_report(), eZINI\appendOverrideDir(), checkNodeActions(), eZLocale\countryFile(), eZContentObjectTreeNode\createAttributeFilterSQLStrings(), eZWizardBaseClassLoader\createClass(), eZPDF\createPDF(), eZContentUpload\detectLocations(), eZStepSiteTypes\downloadAndImportPackage(), eZStepSiteTypes\downloadFile(), eZPackageHandler\errorChoosenAction(), errorHandler(), eZDiff\eZDiff(), eZMediaType\fetchObjectAttributeHTTPInput(), eZExtension\getHandlerClass(), eZDefaultVATHandler\getProductCategory(), eZVATManager\getVAT(), eZTemplateFileResource\handleResourceData(), eZShopOperationCollection\handleUserCountry(), eZINIAddonPackageHandler\iniDOMTree(), eZXHTMLXMLOutput\initHandlerEmbed(), eZIniSettingType\initializeObjectAttribute(), eZContentClassPackageHandler\install(), eZLocale\languageFile(), eZINI\loadCache(), eZLocale\localeFile(), eZLDAPUser\loginUser(), eZPDF\modify(), eZTreeMenuOperator\modify(), eZIniSettingType\onPublish(), eZINI\parseFile(), eZTextInputParser\parseText(), eZINI\prependOverrideDir(), eZLDAPUser\publishUpdateUser(), eZDBInterface\reportQuery(), eZTemplate\resourceFor(), eZStepSiteTypes\retrieveRemotePackagesList(), eZINI\saveCache(), eZObjectRelationType\serializeContentObjectAttribute(), eZDiff\setDiffEngineType(), eZWizardBase\setMetaData(), eZVATManager\setUserCountry(), eZMutex\steal(), eZContentObjectTreeNode\subTreeByNodeID(), eZContentClassPackageHandler\uninstall(), eZContentObjectPackageHandler\uninstall(), eZContentObject\unserialize(), eZBinaryFileType\unserializeContentObjectAttribute(), eZMediaType\unserializeContentObjectAttribute(), updateAutoload(), eZIniSettingType\validateClassAttributeHTTPInput(), eZFloatType\validateClassAttributeHTTPInput(), eZIntegerType\validateClassAttributeHTTPInput(), and eZContentObject\versionLanguageName().
| static eZDebug::writeStrict | ( | $ | string, |
| $ | label = "", |
||
| $ | backgroundClass = "" |
||
| ) | [static] |
Writes a strict debug message.
The global variable 'eZDebugStrict' will be set to true if the notice is added.
| $label | This label will be associated with the strict message, e.g. to say where the message came from. |
| $backgroundClass | A string defining the class to use in the HTML debug output. |
Definition at line 412 of file ezdebug.php.
Referenced by accessAllowed(), accessMatchRegexp(), accessMatchText(), accessType(), eZExtension\activateExtensions(), changeAccess(), errorHandler(), eZCheckUser(), eZCheckValidity(), ezi18n(), ezx18n(), eZTemplate\hasVariable(), imageInit(), eZINI\selectOverrideScope(), eZDebugSetting\setDebugINI(), templateInit(), and eZTemplate\variable().
| static eZDebug::writeWarning | ( | $ | string, |
| $ | label = "", |
||
| $ | backgroundClass = "" |
||
| ) | [static] |
Writes a debug warning.
The global variable 'eZDebugWarning' will be set to true if the notice is added.
| $label | This label will be associated with the notice, e.g. to say where the notice came from. |
Definition at line 500 of file ezdebug.php.
Referenced by eZFSFileHandler\_exclusiveLock(), accumulatorStop(), eZModule\activeModuleRepositories(), eZContentObject\addContentObjectRelation(), eZContentLanguage\addLanguage(), eZImageObject\appendLayer(), eZXMLInputHandler\attribute(), eZImageInterface\attribute(), eZTemplate\autoload(), eZSearchEngine\buildSortSQL(), eZXMLInputParser\callInputHandler(), eZSimplifiedXMLEditOutput\callOutputHandler(), eZXMLInputParser\callOutputHandler(), eZXMLOutputHandler\callTagRenderHandler(), eZMySQLiDB\checkCharsetPriv(), eZMySQLDB\checkCharsetPriv(), checkNodeActions(), eZURLAliasML\choosePrioritizedRow(), eZSiteInstaller\classByIdentifier(), eZClusterFileHandler\cleanupGeneratingFiles(), eZContentCacheManager\clearViewCache(), eZSys\clientIP(), eZMySQLDB\connect(), eZMySQLiDB\connect(), eZContentFunctionCollection\contentobjectRelationTypeMask(), eZImageShellHandler\convert(), eZImageGDHandler\convert(), eZImageManager\convert(), eZImageAnalyzer\create(), eZImageInterface\createImage(), eZImageManager\createImageAlias(), eZContentObjectTreeNode\createSortingSQLStrings(), eZModule\currentAction(), eZTemplateDesignResource\designSetting(), eZStepSiteTypes\downloadAndImportPackage(), eZStepSiteTypes\downloadDependantPackages(), eZBinaryFileHandler\downloadURL(), eZImageInterface\drawText(), errorHandler(), eZFunctionHandler\executeAlias(), eZImageAliasHandler\eZImageAliasHandler(), eZMySQLDB\eZMySQLDB(), eZMySQLiDB\eZMySQLiDB(), eZPostgreSQLDB\eZPostgreSQLDB(), eZXMLInputHandler\eZXMLInputHandler(), eZContentObjectTreeNode\fetch(), eZContentObjectTreeNode\fetchByCRC(), eZContentObjectTreeNode\fetchByURLPath(), eZInformationCollection\fetchCollectionsList(), eZPackageFunctionCollection\fetchDependentPackageList(), eZPackageFunctionCollection\fetchList(), eZCache\fetchList(), eZCollaborationItem\fetchListTool(), eZRSSExport\fetchRSS1_0(), eZRSSExport\fetchRSS2_0(), eZDBFileHandler\fileDeleteByRegex(), eZDFSFileHandler\fileDeleteByRegex(), eZDBFileHandler\fileDeleteByWildcard(), eZDFSFileHandler\fileDeleteByWildcard(), eZExtension\findExtensionType(), eZModule\findModule(), eZObjectRelationListType\fixRelatedObjectItem(), eZImageObject\flatten(), eZObjectRelationListType\fromString(), eZFile\getContents(), eZLDAPUser\getGroupNameByDN(), eZInformationCollection\getSortArrayFromParam(), eZHTTPTool\getVariable(), eZVATManager\getVAT(), eZLDAPUser\goAndPublishGroups(), eZModule\handleError(), eZSerializedObjectNameList\hasNameInLocale(), eZXHTMLXMLOutput\initHandlerEmbed(), eZXHTMLXMLOutput\initHandlerLink(), eZSiteInstaller\initSettings(), eZSiteInstaller\initSteps(), eZDataType\insertHTTPFile(), eZDataType\insertRegularFile(), eZDataType\insertSimpleString(), eZContentClassPackageHandler\install(), eZSiteInstaller\instance(), eZUserLoginHandler\instance(), eZUser\instance(), eZCollaborationItemHandler\instantiate(), eZShopFunctions\isPreferredCurrencyValid(), eZPackage\languageInfoFromPackageList(), eZLintSchema\lintCheckSchema(), eZCodePageMapper\load(), eZCodePage\load(), eZDataType\loadAndRegisterType(), eZDBSchemaInterface\loadSchemaTransformationRules(), eZTSTranslator\loadTranslationFile(), eZLDAPUser\loginUser(), eZBinaryFile\metaData(), eZMimeType\mimeTypeFor(), eZXMLOutputHandler\outputTag(), eZINI\overrideDirsByScope(), eZSiteInstaller\packageFileItemPath(), eZObjectRelationListType\postUnserializeContentObjectAttribute(), eZHTTPTool\postVariable(), eZImageObject\prependLayer(), eZContentLanguage\prioritizedLanguages(), eZImageInterface\processImage(), eZDataType\productOptionInformation(), eZLDAPUser\publishNewUserGroup(), eZLDAPUser\publishUpdateUser(), eZImageAnalyzer\readAnalyzerSettingsFromINI(), eZImageManager\readImageAliasesFromINI(), eZImageManager\readImageHandlersFromINI(), eZSession\regenerate(), eZContentObject\relatedObjects(), eZSiteInstaller\removeContentObject(), eZINI\removeOverrideDir(), eZFile\rename(), eZSubtreeCache\renameDir(), eZTranslationCache\restoreCache(), eZWorkflowProcess\run(), eZProcess\runFile(), eZModule\runHooks(), eZSiteAccess\saNameByLanguage(), eZSearchEngine\saveCreatedTempTableName(), eZINI\selectOverrideScope(), eZUserOperationCollection\sendActivationEmail(), eZSendmailTransport\sendMail(), eZContentObjectVersion\serialize(), eZXMLInputParser\setAttributes(), eZTranslationCache\setContextCache(), eZSerializedObjectNameList\setDefaultLanguageByLocale(), eZTemplateDesignResource\setDesignSetting(), eZSerializedObjectNameList\setNameByLanguageLocale(), eZINI\setOverrideDirs(), eZMultiPrice\setPriceByCurrency(), eZSiteInstaller\setting(), eZSiteInstaller\solutionName(), eZSiteInstaller\solutionVersion(), eZContentObjectTreeNode\sortFieldID(), eZContentObjectTreeNode\sortFieldName(), eZTranslationCache\storeCache(), eZSOAPResponse\stripHTTPHeader(), eZCollaborationGroup\subTree(), eZTemplateCacheBlock\subtreeCacheSubDirForNode(), eZContentObjectTreeNode\subTreeMultiPaths(), eZXMLTextType\transformRemoteLinksToLinks(), eZDBSchemaInterface\transformSchema(), eZContentObjectVersion\unpublish(), updateAutoload(), eZContentObjectTreeNode\updateNodeVisibility(), eZContentObjectTreeNode\updateURLAlias(), eZStepSiteTypes\uploadPackage(), eZHTTPTool\variable(), eZContentClass\versionHistoryLimit(), eZCodeMapper\warning(), and eZTemplate\warning().
| eZDebug::$bottomReportsList |
A list of debug reports that appears at the bottom of debug output.
Definition at line 1895 of file ezdebug.php.
| eZDebug::$DebugStrings = array() |
String array containing the debug information.
Definition at line 1844 of file ezdebug.php.
| eZDebug::$GlobalLogFileEnabled |
Controls whether logfiles are used at all.
Definition at line 1886 of file ezdebug.php.
| eZDebug::$HandleType |
Determines what to do with php errors, ignore, fetch or output.
Definition at line 1859 of file ezdebug.php.
| eZDebug::$LogFileEnabled |
A map with message types and whether they should do file logging.
Definition at line 1883 of file ezdebug.php.
| eZDebug::$LogFiles |
An array of logfiles used by the debug class with each key being the debug level.
Definition at line 1865 of file ezdebug.php.
| eZDebug::$MessageOutput |
Determines how messages are output (screen/log)
Definition at line 1877 of file ezdebug.php.
| eZDebug::$MessageTypes |
A list of message types.
Definition at line 1880 of file ezdebug.php.
| eZDebug::$OutputFormat |
An array of the outputformats for the different debug levels.
Definition at line 1862 of file ezdebug.php.
| eZDebug::$OverrideList |
A list of override directories.
Definition at line 1892 of file ezdebug.php.
| eZDebug::$PercentAccuracy = 4 |
How many places behind . should be displayed when showing percentages.
Definition at line 1871 of file ezdebug.php.
eZDebug::$recursionFlag = false [private] |
Definition at line 1900 of file ezdebug.php.
| eZDebug::$ScriptStart |
The time when the script was started.
Definition at line 1889 of file ezdebug.php.
| eZDebug::$ShowTypes |
Determines which debug messages should be shown.
Definition at line 1856 of file ezdebug.php.
| eZDebug::$TimeAccumulatorList = array() |
Array wich contains time accumulators.
Definition at line 1853 of file ezdebug.php.
| eZDebug::$TimePoints = array() |
Array which contains the time points.
Definition at line 1847 of file ezdebug.php.
| eZDebug::$TimingAccuracy = 4 |
How many places behind . should be displayed when showing times.
Definition at line 1868 of file ezdebug.php.
| eZDebug::$TmpTimePoints |
Array which contains the temporary time points.
Definition at line 1850 of file ezdebug.php.
| eZDebug::$topReportsList |
A list of debug reports that appears at the top of debug output.
Definition at line 1898 of file ezdebug.php.
| eZDebug::$UseCSS |
Whether to use external CSS or output own CSS. True if external is to be used.
Definition at line 1874 of file ezdebug.php.
| const eZDebug::HANDLE_EXCEPTION = 3 |
Definition at line 76 of file ezdebug.php.
Referenced by eZMySQLDB\connect(), eZMySQLiDB\connect(), eZPostgreSQLDB\eZPostgreSQLDB(), and eZPostgreSQLDB\query().
| const eZDebug::HANDLE_FROM_PHP = 1 |
Definition at line 74 of file ezdebug.php.
Referenced by eZScript\initialize().
| const eZDebug::HANDLE_NONE = 0 |
Definition at line 73 of file ezdebug.php.
Referenced by __construct(), eZFatalError(), eZDBInterface\reportError(), and setHandleType().
| const eZDebug::HANDLE_TO_PHP = 2 |
Definition at line 75 of file ezdebug.php.
Referenced by eZScript\startup().
| const eZDebug::LEVEL_DEBUG = 5 |
Definition at line 62 of file ezdebug.php.
Referenced by eZUpdateDebugSettings(), eZScript\getOptions(), eZSimplifiedXMLInput\inputXML(), eZXMLInputParser\process(), eZXMLInputParser\processNewElements(), eZXMLInputParser\processSubtree(), ezpRestDebug\updateDebugSettings(), eZScript\updateDebugSettings(), and eZDebugSetting\writeDebug().
| const eZDebug::LEVEL_ERROR = 3 |
Definition at line 60 of file ezdebug.php.
Referenced by eZUpdateDebugSettings(), eZScript\getOptions(), ezpRestDebug\updateDebugSettings(), eZScript\updateDebugSettings(), write(), and eZDebugSetting\writeError().
| const eZDebug::LEVEL_NOTICE = 1 |
Definition at line 58 of file ezdebug.php.
Referenced by eZUpdateDebugSettings(), eZScript\getOptions(), ezpRestDebug\updateDebugSettings(), eZScript\updateDebugSettings(), and eZDebugSetting\writeNotice().
| const eZDebug::LEVEL_STRICT = 6 |
Definition at line 63 of file ezdebug.php.
Referenced by eZUpdateDebugSettings(), eZScript\getOptions(), ezpRestDebug\updateDebugSettings(), and eZScript\updateDebugSettings().
| const eZDebug::LEVEL_TIMING_POINT = 4 |
Definition at line 61 of file ezdebug.php.
Referenced by eZDebugSetting\addTimingPoint(), and eZScript\getOptions().
| const eZDebug::LEVEL_WARNING = 2 |
Definition at line 59 of file ezdebug.php.
Referenced by eZUpdateDebugSettings(), eZScript\getOptions(), ezpRestDebug\updateDebugSettings(), eZScript\updateDebugSettings(), and eZDebugSetting\writeWarning().
| const eZDebug::MAX_LOGFILE_SIZE = 204800 |
Definition at line 81 of file ezdebug.php.
Referenced by maxLogSize().
| const eZDebug::MAX_LOGROTATE_FILES = 3 |
Definition at line 82 of file ezdebug.php.
Referenced by maxLogrotateFiles().
| const eZDebug::OUTPUT_MESSAGE_SCREEN = 1 |
Definition at line 78 of file ezdebug.php.
| const eZDebug::OUTPUT_MESSAGE_STORE = 2 |
Definition at line 79 of file ezdebug.php.
Referenced by __construct().
| const eZDebug::SHOW_ALL = 63 |
Definition at line 71 of file ezdebug.php.
Referenced by __construct().
| const eZDebug::SHOW_DEBUG = 16 |
Definition at line 69 of file ezdebug.php.
| const eZDebug::SHOW_ERROR = 4 |
Definition at line 67 of file ezdebug.php.
| const eZDebug::SHOW_NOTICE = 1 |
Definition at line 65 of file ezdebug.php.
| const eZDebug::SHOW_STRICT = 32 |
Definition at line 70 of file ezdebug.php.
| const eZDebug::SHOW_TIMING_POINT = 8 |
Definition at line 68 of file ezdebug.php.
| const eZDebug::SHOW_WARNING = 2 |
Definition at line 66 of file ezdebug.php.
| const eZDebug::XDEBUG_SIGNATURE = '--XDEBUG--' |
Definition at line 84 of file ezdebug.php.
Referenced by dumpVariable().