eZPublish  4.7
eZDebug Class Reference

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. More...
 
static instance ()
 Returns a shared instance of the eZDebug class. More...
 
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). More...
 
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 setScriptStop ($time=false)
 
static setUseExternalCSS ($use)
 
static showMessage ($type)
 
static showTypes ($types=false)
 
static timeToFloat ($mtime)
 Returns the microtime as a float value. More...
 
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. More...
 
 $DebugStrings = array()
 String array containing the debug information. More...
 
 $GlobalLogFileEnabled
 Controls whether logfiles are used at all. More...
 
 $HandleType
 Determines what to do with php errors, ignore, fetch or output. More...
 
 $LogFileEnabled
 A map with message types and whether they should do file logging. More...
 
 $LogFiles
 An array of logfiles used by the debug class with each key being the debug level. More...
 
 $MessageOutput
 Determines how messages are output (screen/log) More...
 
 $MessageTypes
 A list of message types. More...
 
 $OutputFormat
 An array of the outputformats for the different debug levels. More...
 
 $OverrideList
 A list of override directories. More...
 
 $PercentAccuracy = 4
 How many places behind . should be displayed when showing percentages. More...
 
 $ScriptStart
 The time when the script was started. More...
 
 $ScriptStop
 The time when the script was stopped (of course this is an approximation, since the script must stop after printing debug info) More...
 
 $ShowTypes
 Determines which debug messages should be shown. More...
 
 $TimeAccumulatorList = array()
 Array wich contains time accumulators. More...
 
 $TimePoints = array()
 Array which contains the time points. More...
 
 $TimingAccuracy = 4
 How many places behind . should be displayed when showing times. More...
 
 $TmpTimePoints
 Array which contains the temporary time points. More...
 
 $topReportsList
 A list of debug reports that appears at the top of debug output. More...
 
 $UseCSS
 Whether to use external CSS or output own CSS. True if external is to be used. More...
 
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
 

Detailed Description

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
// 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.

Constructor & Destructor Documentation

eZDebug::__construct ( )

Creates a new debug object.

Member Function Documentation

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.

Referenced by eZDFSFileHandlerMySQLBackend\_checkCacheGenerationTimeout(), eZDFSFileHandlerMySQLiBackend\_checkCacheGenerationTimeout(), eZDBFileHandlerMysqlBackend\_checkCacheGenerationTimeout(), eZDBFileHandlerMysqliBackend\_checkCacheGenerationTimeout(), eZDFSFileHandlerMySQLBackend\_connect(), eZDBFileHandlerMysqlBackend\_connect(), eZDBFileHandlerMysqliBackend\_connect(), eZDFSFileHandlerMySQLiBackend\_connect(), eZDFSFileHandlerMySQLBackend\_query(), eZDFSFileHandlerMySQLiBackend\_query(), eZDBFileHandlerMysqlBackend\_query(), eZDBFileHandlerMysqliBackend\_query(), eZDBFileHandlerMysqliBackend\_selectOne(), eZDBFileHandlerMysqlBackend\_selectOne(), eZDFSFileHandlerMySQLBackend\_selectOne(), eZDFSFileHandlerMySQLiBackend\_selectOne(), eZDFSFileHandlerDFSBackend\accumulatorStart(), eZImageAliasHandler\aliasList(), eZPostgreSQLDB\arrayQuery(), eZMySQLiDB\arrayQuery(), eZMySQLDB\arrayQuery(), eZContentCacheManager\clearContentCache(), eZContentCacheManager\clearContentCacheIfNeeded(), eZContentCacheManager\clearObjectViewCache(), eZMySQLDB\connect(), eZMySQLiDB\connect(), 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(), eZPostgreSQLDB\eZPostgreSQLDB(), 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.

Referenced by eZDFSFileHandlerMySQLBackend\_connect(), eZDBFileHandlerMysqlBackend\_connect(), eZDBFileHandlerMysqliBackend\_connect(), eZDFSFileHandlerMySQLiBackend\_connect(), eZDFSFileHandlerMySQLBackend\_query(), eZDFSFileHandlerMySQLiBackend\_query(), eZDBFileHandlerMysqlBackend\_query(), eZDBFileHandlerMysqliBackend\_query(), eZDBFileHandlerMysqliBackend\_selectOne(), eZDBFileHandlerMysqlBackend\_selectOne(), eZDFSFileHandlerMySQLBackend\_selectOne(), eZDFSFileHandlerMySQLiBackend\_selectOne(), eZDFSFileHandlerDFSBackend\accumulatorStop(), eZImageAliasHandler\aliasList(), eZPostgreSQLDB\arrayQuery(), eZMySQLiDB\arrayQuery(), eZMySQLDB\arrayQuery(), eZContentCacheManager\clearContentCache(), eZContentCacheManager\clearContentCacheIfNeeded(), eZContentCacheManager\clearObjectViewCache(), eZMySQLDB\connect(), eZMySQLiDB\connect(), 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(), eZPostgreSQLDB\eZPostgreSQLDB(), 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::alwaysLogMessage (   $level)
static
Returns
true if the debug level $level should always log to file.

Referenced by writeDebug(), writeError(), writeNotice(), writeStrict(), and writeWarning().

static eZDebug::appendBottomReport (   $reportName,
  $reportContent 
)
static

Appends report to 'bottom' reports list.

Referenced by eZDisplayDebug().

static eZDebug::appendTopReport (   $reportName,
  $reportContent 
)
static

Appends report to 'top' reports list.

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.

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.

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.

Referenced by eZMySQLDB\eZMySQLDB(), eZMySQLiDB\eZMySQLiDB(), eZPostgreSQLDB\eZPostgreSQLDB(), eZTemplate\eZTemplate(), eZTSTranslator\initialize(), eZContentOperationCollection\publishNode(), and eZContentOperationCollection\registerSearchObject().

static eZDebug::dumpVariable (   $var)
staticprivate

Dumps the variables contents using the var_dump function

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.

Referenced by recursionProtectErrorHandler().

static eZDebug::exceptionErrorHandler (   $errno,
  $errstr,
  $errfile,
  $errline 
)
static

Exception based error handler, very basic.

Since
4.5
Exceptions
ErrorException
static eZDebug::isAllowedByCurrentIP (   $allowedIpList)
staticprivate

If debugging is allowed for the current IP address.

eZDebug::isDebugAllowed ( )

If debugging is allowed, given the limitations of the DebugByIP and DebugByUser settings.

static eZDebug::isDebugEnabled ( )
static
eZDebug::isGlobalLogFileEnabled ( )
Returns
true if the message type $type has logging to file enabled.
See Also
isLogFileEnabled, setIsGlobalLogFileEnabled

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.

Returns
true or false.

Referenced by eZUser\isUserIPInList().

eZDebug::isLogFileEnabled (   $type)
Returns
true if the message type $type has logging to file enabled.
See Also
isGlobalLogFileEnabled, setIsLogFileEnabled

Referenced by write(), and writeFile().

static eZDebug::isLogOnlyEnabled ( )
static
Returns
true if there should only be logging of debug strings to file.
Note
Will return false until the real settings has been updated with updateSettings()

Referenced by write().

eZDebug::logFiles ( )

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).

Referenced by write().

static eZDebug::maxLogrotateFiles ( )
static
Returns
the maxium number of logrotate files to keep.

Referenced by rotateLog().

static eZDebug::maxLogSize ( )
static
Returns
the maxium size for a log file in bytes.

Referenced by writeFile().

eZDebug::messageName (   $messageType)
Returns
the name of the message type.
eZDebug::messageTypes ( )
Returns
an array with the available message types.
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).

Parameters
bool$as_html

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

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.

Referenced by ezpRestDebug\getReport().

static eZDebug::printTopReportsList ( )
static

Prints all 'top' reports

Referenced by printReportInternal().

eZDebug::recursionProtectErrorHandler (   $errno,
  $errstr,
  $errfile,
  $errline 
)
eZDebug::reset ( )
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.

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.

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.

See Also
isLogFileEnabled, isGlobalLogFileEnabled
eZDebug::setIsLogFileEnabled (   $type,
  $enabled 
)

Sets whether the logfile $type is enabled or disabled to $enabled.

See Also
isLogFileEnabled
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.

Referenced by writeFile().

eZDebug::setLogOnly (   $enabled)

Sets whether debug output should be logged only

static eZDebug::setLogrotateFiles (   $files)
static

Sets the maxium number of logrotate files to keep to $files.

static eZDebug::setMaxLogSize (   $size)
static

Sets the maxium size for a log file to $size.

eZDebug::setMessageOutput (   $output)

Determines the way messages are output, the $output parameter is self::OUTPUT_MESSAGE_SCREEN and self::OUTPUT_MESSAGE_STORE ored together.

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.

static eZDebug::setScriptStop (   $time = false)
static

Sets the time of the stop 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.

Referenced by eZDisplayDebug().

eZDebug::setStoreLog (   $store)
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.

static eZDebug::showMessage (   $type)
static

Returns true if the message type $type can be shown.

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.

static eZDebug::timeToFloat (   $mtime)
static

Returns the microtime as a float value.

$mtime must be in microtime() format.

Deprecated:
Since 4.4.0, use microtime( true ) instead
static eZDebug::updateSettings (   $settings)
static

Updates the settings for debug handling with the settings array $settings. The array must contain the following keys.

  • debug-enabled - boolean which controls debug handling
  • debug-by-ip - boolean which controls IP controlled debugging
  • debug-ip-list - array of IPs which gets debug
  • debug-by-user - boolean which controls userID controlled debugging
  • debug-user-list - array of UserIDs which gets debug

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.

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.

Parameters
$labelThis label will be associated with the notice, e.g. to say where the notice came from.

Referenced by eZDBFileHandlerMysqliBackend\_getFileList(), eZDBFileHandlerMysqlBackend\_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(), eZDebugSetting\writeDebug(), 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.

Parameters
$labelThis label will be associated with the notice, e.g. to say where the notice came from.

Referenced by eZDB\__construct(), eZDBFileHandlerMysqliBackend\_copyInner(), eZDBFileHandlerMysqlBackend\_copyInner(), eZDBFileHandlerMysqliBackend\_deleteByDirListInner(), eZDBFileHandlerMysqlBackend\_deleteByDirListInner(), eZDFSFileHandlerMySQLBackend\_deleteByDirListInner(), eZDFSFileHandlerMySQLiBackend\_deleteByDirListInner(), eZDBFileHandlerMysqliBackend\_die(), eZDBFileHandlerMysqlBackend\_die(), eZDFSFileHandlerMySQLBackend\_die(), eZDFSFileHandlerMySQLiBackend\_die(), eZDFSFileHandlerMySQLBackend\_endCacheGeneration(), eZDFSFileHandlerMySQLiBackend\_endCacheGeneration(), eZDBFileHandlerMysqlBackend\_endCacheGeneration(), eZDBFileHandlerMysqliBackend\_endCacheGeneration(), eZDFSFileHandlerMySQLBackend\_error(), eZDFSFileHandlerMySQLiBackend\_error(), eZDBFileHandlerMysqlBackend\_error(), eZDBFileHandlerMysqliBackend\_error(), eZDBFileHandlerMysqliBackend\_fetch(), eZDBFileHandlerMysqlBackend\_fetch(), eZDFSFileHandlerMySQLBackend\_fetch(), eZDFSFileHandlerMySQLiBackend\_fetch(), eZDBFileHandlerMysqliBackend\_fetchContents(), eZDBFileHandlerMysqlBackend\_fetchContents(), eZDFSFileHandlerMySQLBackend\_fetchContents(), eZDFSFileHandlerMySQLiBackend\_fetchContents(), eZDFSFileHandlerMySQLBackend\_handleErrorType(), eZDBFileHandlerMysqlBackend\_handleErrorType(), eZDFSFileHandlerMySQLiBackend\_handleErrorType(), eZDBFileHandlerMysqliBackend\_handleErrorType(), eZDBFileHandlerMysqliBackend\_passThrough(), eZDBFileHandlerMysqlBackend\_passThrough(), eZDFSFileHandlerMySQLBackend\_protect(), eZDBFileHandlerMysqlBackend\_protect(), eZDFSFileHandlerMySQLiBackend\_protect(), eZDBFileHandlerMysqliBackend\_protect(), eZDBFileHandlerMysqliBackend\_rename(), eZDBFileHandlerMysqlBackend\_rename(), eZDFSFileHandlerMySQLBackend\_rename(), eZDFSFileHandlerMySQLiBackend\_rename(), eZPHPCreator\_restoreCall(), eZDBFileHandlerMysqliBackend\_selectOne(), eZDBFileHandlerMysqlBackend\_selectOne(), eZDFSFileHandlerMySQLBackend\_selectOne(), eZDFSFileHandlerMySQLiBackend\_selectOne(), eZDFSFileHandlerMySQLBackend\_startCacheGeneration(), eZDFSFileHandlerMySQLiBackend\_startCacheGeneration(), eZDBFileHandlerMysqlBackend\_startCacheGeneration(), eZDBFileHandlerMysqliBackend\_startCacheGeneration(), eZDBFileHandlerMysqliBackend\_store(), eZDBFileHandlerMysqlBackend\_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(), eZCache\purgeImageAliasForObject(), 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(), eZSMTPTransport\sendMail(), eZFileTransport\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(), eZDebugSetting\writeError(), writeFile(), and eZLog\writeStorageLog().

eZDebug::writeFile ( $logFileData,
$string,
  $verbosityLevel,
  $alwaysLog = false 
)
private

Writes the log message $string to the file $fileName.

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.

Parameters
$labelThis label will be associated with the notice, e.g. to say where the notice came from.
$backgroundClassA string defining the class to use in the HTML debug output.

Referenced by eZDFSFileHandlerMySQLBackend\_report(), eZDFSFileHandlerMySQLiBackend\_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(), eZContentObject\versionLanguageName(), and eZDebugSetting\writeNotice().

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.

Parameters
$labelThis label will be associated with the strict message, e.g. to say where the message came from.
$backgroundClassA string defining the class to use in the HTML debug output.

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.

Parameters
$labelThis label will be associated with the notice, e.g. to say where the notice came from.

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(), eZTemplate\warning(), and eZDebugSetting\writeWarning().

Member Data Documentation

eZDebug::$bottomReportsList

A list of debug reports that appears at the bottom of debug output.

eZDebug::$DebugStrings = array()

String array containing the debug information.

eZDebug::$GlobalLogFileEnabled

Controls whether logfiles are used at all.

Referenced by isGlobalLogFileEnabled().

eZDebug::$HandleType

Determines what to do with php errors, ignore, fetch or output.

eZDebug::$LogFileEnabled

A map with message types and whether they should do file logging.

eZDebug::$LogFiles

An array of logfiles used by the debug class with each key being the debug level.

Referenced by logFiles().

eZDebug::$MessageOutput

Determines how messages are output (screen/log)

eZDebug::$MessageTypes

A list of message types.

Referenced by messageTypes().

eZDebug::$OutputFormat

An array of the outputformats for the different debug levels.

eZDebug::$OverrideList

A list of override directories.

eZDebug::$PercentAccuracy = 4

How many places behind . should be displayed when showing percentages.

eZDebug::$recursionFlag = false
private
eZDebug::$ScriptStart

The time when the script was started.

Referenced by printReportInternal().

eZDebug::$ScriptStop

The time when the script was stopped (of course this is an approximation, since the script must stop after printing debug info)

Referenced by printReportInternal().

eZDebug::$ShowTypes

Determines which debug messages should be shown.

eZDebug::$TimeAccumulatorList = array()

Array wich contains time accumulators.

Referenced by printReportInternal().

eZDebug::$TimePoints = array()

Array which contains the time points.

eZDebug::$TimingAccuracy = 4

How many places behind . should be displayed when showing times.

eZDebug::$TmpTimePoints

Array which contains the temporary time points.

eZDebug::$topReportsList

A list of debug reports that appears at the top of debug output.

eZDebug::$UseCSS

Whether to use external CSS or output own CSS. True if external is to be used.

const eZDebug::HANDLE_EXCEPTION = 3
const eZDebug::HANDLE_FROM_PHP = 1

Referenced by eZScript\initialize().

const eZDebug::HANDLE_NONE = 0
const eZDebug::HANDLE_TO_PHP = 2

Referenced by eZScript\startup().

const eZDebug::LEVEL_TIMING_POINT = 4
const eZDebug::MAX_LOGFILE_SIZE = 204800
const eZDebug::MAX_LOGROTATE_FILES = 3
const eZDebug::OUTPUT_MESSAGE_SCREEN = 1
const eZDebug::OUTPUT_MESSAGE_STORE = 2
const eZDebug::SHOW_ALL = 63
const eZDebug::SHOW_DEBUG = 16
const eZDebug::SHOW_ERROR = 4
const eZDebug::SHOW_NOTICE = 1
const eZDebug::SHOW_STRICT = 32
const eZDebug::SHOW_TIMING_POINT = 8
const eZDebug::SHOW_WARNING = 2
const eZDebug::XDEBUG_SIGNATURE = '--XDEBUG--'

The documentation for this class was generated from the following file: