eZPublishCommunityProject(LegacyStack)  2013.6
updateviewcount.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

 $contentHash = array()
 
 $dt = new eZDateTime()
 
 $fh = fopen( $updateViewLogPath, "w" )
 
 $hasStartLine = false
 
 $lastLine = ""
 
 $logFileIni = eZINI::instance( 'logfile.ini' )
 
 $logFilePath = $logFileIni->variable( 'AccessLogFileSettings', 'StorageDir' ) . '/' . $logFileIni->variable( 'AccessLogFileSettings', 'LogFileName' )
 
 $nodeIDHashCounter = array()
 
 $nonContentHash = array()
 
 $pathHashCounter = array()
 
 $pathPrefixes = $logFileIni->variable( 'AccessLogFileSettings', 'PathPrefix' )
 
 $pathPrefixesCount = count( $pathPrefixes )
 
 $prefixes = $logFileIni->variable( 'AccessLogFileSettings', 'SitePrefix' )
 
 $startLine = ""
 
 $startTime = $dt->day() . "/" . date( 'M', time() ) . "/" . $dt->year() . ":" . $dt->hour() . ":" . $dt->minute() . ":" . $dt->second()
 
 $updateViewLogPath = eZSys::instance()->varDirectory() . "/" . eZINI::instance()->variable( 'FileSettings', 'LogDir' ) . "/updateview.log"
 
if(is_file($logFilePath)) else
 

Variable Documentation

$contentHash = array()
foreach ($pathHashCounter as $path=> $count) foreach ($nodeIDHashCounter as $nodeID=> $count) $dt = new eZDateTime()

Referenced by Cpdf\ellipse().

$fh = fopen( $updateViewLogPath, "w" )
$hasStartLine = false
$lastLine = ""
$logFileIni = eZINI::instance( 'logfile.ini' )
$logFilePath = $logFileIni->variable( 'AccessLogFileSettings', 'StorageDir' ) . '/' . $logFileIni->variable( 'AccessLogFileSettings', 'LogFileName' )
$nodeIDHashCounter = array()
$nonContentHash = array()
$pathHashCounter = array()
$pathPrefixes = $logFileIni->variable( 'AccessLogFileSettings', 'PathPrefix' )
$pathPrefixesCount = count( $pathPrefixes )
$prefixes = $logFileIni->variable( 'AccessLogFileSettings', 'SitePrefix' )
$startTime = $dt->day() . "/" . date( 'M', time() ) . "/" . $dt->year() . ":" . $dt->hour() . ":" . $dt->minute() . ":" . $dt->second()
$updateViewLogPath = eZSys::instance()->varDirectory() . "/" . eZINI::instance()->variable( 'FileSettings', 'LogDir' ) . "/updateview.log"
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:14