Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
& | _getGrouped ($loadId) |
deleteByLoadId ($loadId) | |
deleteRecord ($assocType, $assocId, $time, $loadId) | |
& | getNextByLoadId ($loadId) |
insert ($assocType, $assocId, $day, $time, $countryCode, $region, $cityName, $fileType, $loadId) | |
Public Member Functions inherited from DAO | |
__construct ($dataSource=null, $callHooks=true) | |
concat () | |
convertFromDB ($value, $type) | |
convertToDB ($value, &$type) | |
dateFromDB ($d) | |
datetimeFromDB ($dt) | |
datetimeToDB ($dt) | |
dateToDB ($d) | |
flushCache () | |
formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true) | |
getAdditionalFieldNames () | |
getAffectedRows () | |
getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, $dataObject) | |
getDataSource () | |
getDirectionMapping ($direction) | |
getDriver () | |
getLocaleFieldNames () | |
getType ($value) | |
handleError ($dataSource, $sql) | |
nullOrInt ($value) | |
replace ($table, $arrFields, $keyCols) | |
& | retrieve ($sql, $params=false, $callHooks=true) |
& | retrieveCached ($sql, $params=false, $secsToCache=3600, $callHooks=true) |
& | retrieveLimit ($sql, $params=false, $numRows=false, $offset=false, $callHooks=true) |
& | retrieveRange ($sql, $params=false, $dbResultRange=null, $callHooks=true) |
setCacheDir () | |
setDataSource ($dataSource) | |
update ($sql, $params=false, $callHooks=true, $dieOnError=true) | |
updateDataObjectSettings ($tableName, $dataObject, $idArray) | |
Data Fields | |
$_loadId | |
$_result | |
Data Fields inherited from DAO | |
$_dataSource | |
Additional Inherited Members | |
Static Public Member Functions inherited from DAO | |
static | getDataChangedEvent ($elementId=null, $parentElementId=null, $content='') |
Protected Member Functions inherited from DAO | |
_getInsertId ($table='', $id='') | |
Operations for retrieving and adding temporary usage statistics records.
Definition at line 17 of file UsageStatsTemporaryRecordDAO.inc.php.
UsageStatsTemporaryRecordDAO::__construct | ( | ) |
Constructor
Definition at line 34 of file UsageStatsTemporaryRecordDAO.inc.php.
& UsageStatsTemporaryRecordDAO::_getGrouped | ( | $loadId | ) |
Get all temporary records with the passed load id grouped.
$loadId | string |
Definition at line 132 of file UsageStatsTemporaryRecordDAO.inc.php.
References DAO\retrieve().
Referenced by getNextByLoadId().
UsageStatsTemporaryRecordDAO::deleteByLoadId | ( | $loadId | ) |
Delete all temporary records associated with the passed load id.
$loadId | string |
Definition at line 104 of file UsageStatsTemporaryRecordDAO.inc.php.
References DAO\update().
UsageStatsTemporaryRecordDAO::deleteRecord | ( | $assocType, | |
$assocId, | |||
$time, | |||
$loadId | |||
) |
Delete the record with the passed assoc id and type with the most recent day value.
$assocType | int |
$assocId | int |
$time | int |
$loadId | string |
Definition at line 117 of file UsageStatsTemporaryRecordDAO.inc.php.
References DAO\update().
& UsageStatsTemporaryRecordDAO::getNextByLoadId | ( | $loadId | ) |
Get next temporary stats record by load id.
$loadId | string |
Definition at line 82 of file UsageStatsTemporaryRecordDAO.inc.php.
References $_result, and _getGrouped().
UsageStatsTemporaryRecordDAO::insert | ( | $assocType, | |
$assocId, | |||
$day, | |||
$time, | |||
$countryCode, | |||
$region, | |||
$cityName, | |||
$fileType, | |||
$loadId | |||
) |
Add the passed usage statistic record.
$assocType | int |
$assocId | int |
$day | string |
$time | int |
$countryCode | string |
$region | string |
$cityName | string |
$fileType | int |
$loadId | string |
Definition at line 54 of file UsageStatsTemporaryRecordDAO.inc.php.
References DAO\update().
$_loadId UsageStatsTemporaryRecordDAO::$_loadId |
string
Definition at line 29 of file UsageStatsTemporaryRecordDAO.inc.php.
$_result UsageStatsTemporaryRecordDAO::$_result |
ADORecordSet
Definition at line 23 of file UsageStatsTemporaryRecordDAO.inc.php.
Referenced by getNextByLoadId().