Open Monograph Press  3.3.0
TimeZoneDAO Class Reference
Inheritance diagram for TimeZoneDAO:
DAO

Public Member Functions

 __construct ()
 
_getTimeZoneCache ()
 
 _timeZoneCacheMiss ($cache, $id)
 
 getFilename ()
 
getTimeZones ()
 
- 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

 $cache
 
- 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='')
 

Detailed Description

Definition at line 18 of file TimeZoneDAO.inc.php.

Constructor & Destructor Documentation

◆ __construct()

TimeZoneDAO::__construct ( )

Constructor.

Definition at line 24 of file TimeZoneDAO.inc.php.

Member Function Documentation

◆ _getTimeZoneCache()

& TimeZoneDAO::_getTimeZoneCache ( )

Definition at line 35 of file TimeZoneDAO.inc.php.

References $cache, Registry\get(), getFilename(), and CacheManager\getManager().

Referenced by getTimeZones().

◆ _timeZoneCacheMiss()

TimeZoneDAO::_timeZoneCacheMiss (   $cache,
  $id 
)

Definition at line 53 of file TimeZoneDAO.inc.php.

References $cache, Registry\get(), and getFilename().

◆ getFilename()

TimeZoneDAO::getFilename ( )

Get the filename of the time zone registry file for the given locale

Definition at line 31 of file TimeZoneDAO.inc.php.

Referenced by _getTimeZoneCache(), and _timeZoneCacheMiss().

◆ getTimeZones()

& TimeZoneDAO::getTimeZones ( )

Return a list of all time zones.

Returns
array

Definition at line 75 of file TimeZoneDAO.inc.php.

References $cache, and _getTimeZoneCache().

Field Documentation

◆ $cache

TimeZoneDAO::$cache

Definition at line 19 of file TimeZoneDAO.inc.php.

Referenced by _getTimeZoneCache(), _timeZoneCacheMiss(), and getTimeZones().


The documentation for this class was generated from the following file: