File/maintenance/maintenance-common.php

Description
Includes
 require_once (maintenancePath.'/libraries/pear/PEAR.php') (line 32)
 require_once (maintenancePath.'/libraries/pear/Log.php') (line 31)
Constants
phpAds_actionActiveCampaign = 21 (line 57)
phpAds_actionAdvertiserReportMailed = (line 50)
phpAds_actionAutoClean = 30 (line 58)
phpAds_actionBatchStatistics = 40 (line 59)
phpAds_actionDeactivationMailed = 3 (line 53)
phpAds_actionDeactiveCampaign = 20 (line 56)
phpAds_actionPriorityAutoTargeting = 11 (line 55)
phpAds_actionPriorityCalculation = 10 (line 54)
phpAds_actionPublisherReportMailed = 1 (line 51)
phpAds_actionWarningMailed = 2 (line 52)
phpAds_adminDb = 1 (line 39)
phpAds_installed = true (line 60)
phpAds_rawDb = 2 (line 40)
phpAds_userAdministrator = 3 (line 45)
phpAds_userAdvertiser = 4 (line 46)
phpAds_userDeliveryEngine = 1 (line 43)
phpAds_userMaintenance = 2 (line 44)
phpAds_userPublisher = 5 (line 47)
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
obtainPriorityLock (line 862)

Obtains an advisory database lock for the maintenance priority process.

  • return: True if lock was obtained, false otherwise.
boolean obtainPriorityLock ()
phpAds_breakString (line 556)
void phpAds_breakString (mixed $str, mixed $maxLen, [mixed $append = "..."])
phpAds_buildBannerName (line 670)
void phpAds_buildBannerName (mixed $bannerid, [mixed $description = ''], [mixed $alt = ''], [mixed $limit = 30], [mixed $use_html = true])
phpAds_buildName (line 567)
void phpAds_buildName (mixed $id, mixed $name)
phpAds_buildRatio (line 764)
void phpAds_buildRatio (mixed $numerator, mixed $denominator)
phpAds_dbAffectedRows (line 284)
void phpAds_dbAffectedRows ([mixed $db = phpAds_adminDb])
phpAds_dbClose (line 205)
void phpAds_dbClose ([mixed $db = phpAds_adminDb])
phpAds_dbConnect (line 155)
void phpAds_dbConnect ([mixed $db = phpAds_adminDb])
phpAds_dbError (line 313)
void phpAds_dbError ([mixed $db = phpAds_adminDb])
phpAds_dbErrorNo (line 319)
void phpAds_dbErrorNo ([mixed $db = phpAds_adminDb])
phpAds_dbFetchArray (line 248)
void phpAds_dbFetchArray (mixed $res)
phpAds_dbFetchRow (line 257)
void phpAds_dbFetchRow (mixed $res)
phpAds_dbFreeResult (line 275)
void phpAds_dbFreeResult (mixed $res)
phpAds_dbInsertID (line 303)
void phpAds_dbInsertID ([mixed $db = phpAds_adminDb])
phpAds_dbNumRows (line 239)
void phpAds_dbNumRows (mixed $res)
phpAds_dbQuery (line 226)
void phpAds_dbQuery (mixed $query, [mixed $db = phpAds_adminDb])
phpAds_dbResult (line 266)
void phpAds_dbResult (mixed $res, mixed $row, mixed $column)
phpAds_dbSeekRow (line 294)
void phpAds_dbSeekRow (mixed $res, mixed $row)
phpAds_getBannerListOrder (line 596)
void phpAds_getBannerListOrder (mixed $ListOrder, mixed $OrderDirection)
phpAds_getHourListOrder (line 631)
void phpAds_getHourListOrder (mixed $ListOrder, mixed $OrderDirection)
phpAds_getOrderDirection (line 577)
void phpAds_getOrderDirection (mixed $ThisOrderDirection)
phpAds_makeTimestamp (line 845)
void phpAds_makeTimestamp (mixed $start, [mixed $offset = 0])
phpAds_replaceVariablesInBannerCode (line 696)
void phpAds_replaceVariablesInBannerCode (mixed $htmlcode)
phpAds_sendMail (line 513)
void phpAds_sendMail (mixed $email, mixed $readable, mixed $subject, mixed $contents)
phpAds_totalClicks (line 820)
void phpAds_totalClicks ([mixed $bannerid = ""], [mixed $timeconstraint = ""])
phpAds_totalConversions (line 827)
void phpAds_totalConversions ([mixed $bannerid = ""], [mixed $timeconstraint = ""])
phpAds_totalStats (line 773)
void phpAds_totalStats (mixed $column, mixed $bannerid, [mixed $timeconstraint = ""])
phpAds_totalViews (line 834)
void phpAds_totalViews ([mixed $bannerid = ""], [mixed $timeconstraint = ""])
phpAds_userlogAdd (line 142)
void phpAds_userlogAdd (mixed $action, mixed $object, [mixed $details = ''])
releasePriorityLock (line 877)

Releases the advisory database lock for the maintenance priority process.

void releasePriorityLock ()

Documentation generated on Fri, 3 Dec 2004 12:26:58 +0000 by phpDocumentor 1.3.0RC3