File/maintenance/maintenance-common.php

Description
Includes
 require_once (maintenancePath.'/libraries/pear/Log.php') (line 31)
 require_once (maintenancePath.'/libraries/pear/PEAR.php') (line 32)
Functions
debug (line 83)

Hacked from Seagull's Base::logMessage method.

Note that the method can be safely called by simply omitting the deprecated parameters (but doesn't have to be).

boolean debug (mixed $message, [string $file = null], [integer $line = null], [integer $priority = PEAR_LOG_INFO])
  • mixed $message: Either a string or a PEAR_Error object.
  • string $file: Deprecated.
  • integer $line: Deprecated.
  • integer $priority: The priority of the message. One of: PEAR_LOG_EMERG, PEAR_LOG_ALERT, PEAR_LOG_CRIT PEAR_LOG_ERR, PEAR_LOG_WARNING, PEAR_LOG_NOTICE PEAR_LOG_INFO, PEAR_LOG_DEBUG
maintenanceObtainPriorityLock (line 606)

Obtains an advisory database lock for the maintenance priority process.

  • return: True if lock was obtained, false otherwise.
boolean maintenanceObtainPriorityLock ()
maintenanceReleasePriorityLock (line 621)

Releases the advisory database lock for the maintenance priority process.

void maintenanceReleasePriorityLock ()
maintenance_dbConnect (line 157)
void maintenance_dbConnect ([mixed $db = phpAds_adminDb])
maintenance_dbError (line 247)
void maintenance_dbError ([mixed $db = phpAds_adminDb])
maintenance_dbFetchArray (line 229)
void maintenance_dbFetchArray (mixed $res)
maintenance_dbNumRows (line 220)
void maintenance_dbNumRows (mixed $res)
maintenance_dbQuery (line 207)
void maintenance_dbQuery (mixed $query, [mixed $db = phpAds_adminDb])
maintenance_dbResult (line 238)
void maintenance_dbResult (mixed $res, mixed $row, mixed $column)
phpAds_getOrderDirection (line 321)
void phpAds_getOrderDirection (mixed $ThisOrderDirection)

Documentation generated on Fri, 11 Feb 2005 18:13:31 +0000 by phpDocumentor 1.3.0RC3