eZPublish  4.4
updateviewcount.php File Reference

Variables

 $contentArray = array()
 
 $day = $dt->day()
 
 $db = eZDB::instance()
 
 $dt = new eZDateTime()
 
 $fh = fopen( $updateViewLogPath, "w" )
 
 $fileDir = $logFileIni->variable( 'AccessLogFileSettings', 'StorageDir' )
 
 $fileName = $logFileIni->variable( 'AccessLogFileSettings', 'LogFileName' )
 
 $hasStartLine = false
 
 $hour = $dt->hour()
 
 $ini = eZINI::instance()
 
 $lastLine = ""
 
 $logDir = $ini->variable( 'FileSettings', 'LogDir' )
 
 $logFileIni = eZINI::instance( 'logfile.ini' )
 
 $logFilePath = $fileDir . '/' . $fileName
 
 $minute = $dt->minute()
 
 $month = date( 'M', time() )
 
 $nodeIDArray = array()
 
 $nonContentArray = array()
 
 $pathArray = array()
 
 $pathPrefixes = $logFileIni->variable( 'AccessLogFileSettings', 'PathPrefix' )
 
 $prefixes = $logFileIni->variable( 'AccessLogFileSettings', 'SitePrefix' )
 
 $second = $dt->second()
 
 $startLine = ""
 
 $startTime = $day . "/" . $month . "/" . $year . ":" . $hour . ":" . $minute . ":" . $second
 
 $sys = eZSys::instance()
 
 $updateViewLog = "updateview.log"
 
 $updateViewLogPath = $varDir . "/" . $logDir . "/" . $updateViewLog
 
 $varDir = $sys->varDirectory()
 
 $year = $dt->year()
 
if(is_file($logFilePath)) else
 

Variable Documentation

$contentArray = array()
$db = eZDB::instance()
foreach ($nodeIDArray as $nodeID) foreach ($pathArray as $path) $dt = new eZDateTime()

Referenced by Cpdf\ellipse().

$fh = fopen( $updateViewLogPath, "w" )
$fileDir = $logFileIni->variable( 'AccessLogFileSettings', 'StorageDir' )
$fileName = $logFileIni->variable( 'AccessLogFileSettings', 'LogFileName' )

Referenced by eZWebDAVServer\appendLogEntry(), eZWebDAVContentBackend\appendLogEntry(), eZINI\create(), eZPaymentLogger\CreateForAdd(), eZImageLayer\createForFile(), eZPaymentLogger\CreateNew(), eZContentObjectPackageHandler\createObjectListNode(), eZTemplateNodeTool\createResourceAcquisitionNode(), eZMediaType\deleteStoredObjectAttribute(), eZBinaryFileType\deleteStoredObjectAttribute(), eZStepSiteTypes\downloadFile(), eZContentObjectEditHandler\executeHandlerFunction(), eZINI\exists(), eZINI\eZINI(), eZPaymentLogger\eZPaymentLogger(), eZINI\fetchFromFile(), eZContentObjectPackageHandler\fetchObjectFromFile(), filePathForBinaryFile(), eZExtension\findExtensionType(), eZINI\findInputFiles(), eZAutoloadGenerator\findRecursiveCallback(), eZStepSiteTypes\fopen(), generateDefaultTemplate(), generateNodeViewTemplate(), generateObjectViewTemplate(), generatePagelayoutTemplate(), eZImageAliasHandler\generateXMLData(), eZDataType\getDBAExtensionFilePath(), eZDataType\getDBAFilePath(), eZFilePassthroughHandler\handleFileDownload(), eZContentObjectEditHandler\initialize(), eZBinaryFileType\insertRegularFile(), eZMediaType\insertRegularFile(), eZFilePackageHandler\install(), eZINI\instance(), eZINI\isSettingReadOnly(), eZINI\loadCache(), eZTextFileUser\loginUser(), eZINI\parameterSet(), eZPackage\parseDOMTree(), eZPlainTextParser\parseFile(), eZContentCache\restore(), eZLog\rotateLog(), eZDebug\rotateLog(), eZINI\save(), eZImageInterface\store(), eZStaticCache\storeCache(), eZBinaryFile\storedFileInfo(), eZMedia\storedFileInfo(), eZImageType\storedFileInformation(), eZBinaryFileHandler\storedFilename(), eZImageType\trashStoredObjectAttribute(), eZMediaType\trashStoredObjectAttribute(), eZBinaryFileType\trashStoredObjectAttribute(), eZDir\unlinkWildcard(), eZLog\write(), eZDebug\write(), eZDebug\writeFile(), and eZLog\writeStorageLog().

$hasStartLine = false
$ini = eZINI::instance()
$lastLine = ""
$logFileIni = eZINI::instance( 'logfile.ini' )
$logFilePath = $fileDir . '/' . $fileName
$nonContentArray = array()
$pathPrefixes = $logFileIni->variable( 'AccessLogFileSettings', 'PathPrefix' )
$prefixes = $logFileIni->variable( 'AccessLogFileSettings', 'SitePrefix' )
$startTime = $day . "/" . $month . "/" . $year . ":" . $hour . ":" . $minute . ":" . $second
$sys = eZSys::instance()
$updateViewLog = "updateview.log"
$updateViewLogPath = $varDir . "/" . $logDir . "/" . $updateViewLog
if (is_file($logFilePath)) else
Initial value:
{
$cli->output( "Warning: apache log-file '$logFilePath' doesn't exist, please check your ini-settings and try again." )
$cli
Definition: adddefaultstates.php:6