Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
DataObjectTombstoneSettingsDAO Class Reference
Inheritance diagram for DataObjectTombstoneSettingsDAO:
DAO

Public Member Functions

 deleteSetting ($tombstoneId, $name, $locale=null)
 
 deleteSettings ($tombstoneId)
 
getSetting ($tombstoneId, $name, $locale=null)
 
 updateSetting ($tombstoneId, $name, $value, $type=null, $isLocalized=false)
 
- Public Member Functions inherited from DAO
 concat ()
 
 convertFromDB ($value, $type)
 
 convertToDB ($value, &$type)
 
 DAO ($dataSource=null, $callHooks=true)
 
 dateFromDB ($d)
 
 datetimeFromDB ($dt)
 
 datetimeToDB ($dt)
 
 dateToDB ($d)
 
 flushCache ()
 
 formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true)
 
 getAffectedRows ()
 
 getDataChangedEvent ($elementId=null, $parentElementId=null)
 
getDataSource ()
 
 getDirectionMapping ($direction)
 
 getDriver ()
 
 getInsertId ($table= '', $id= '', $callHooks=true)
 
 getType ($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)
 

Additional Inherited Members

- Public Attributes inherited from DAO
 $_dataSource
 

Detailed Description

Operations for retrieving and modifying submission tombstone settings.

Definition at line 17 of file DataObjectTombstoneSettingsDAO.inc.php.

Member Function Documentation

DataObjectTombstoneSettingsDAO::deleteSetting (   $tombstoneId,
  $name,
  $locale = null 
)

Delete an submission tombstone setting.

Parameters
$tombstoneIdint
$namestring
$localestring optional

Definition at line 97 of file DataObjectTombstoneSettingsDAO.inc.php.

References DAO\update().

DataObjectTombstoneSettingsDAO::deleteSettings (   $tombstoneId)

Delete all settings for an submission tombstone.

Parameters
$tombstoneIdint

Definition at line 111 of file DataObjectTombstoneSettingsDAO.inc.php.

References DAO\update().

& DataObjectTombstoneSettingsDAO::getSetting (   $tombstoneId,
  $name,
  $locale = null 
)

Retrieve an submission tombstone setting value.

Parameters
$tombstoneIdint
$name
$localestring optional

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

References DAO\convertFromDB(), and DAO\retrieve().

DataObjectTombstoneSettingsDAO::updateSetting (   $tombstoneId,
  $name,
  $value,
  $type = null,
  $isLocalized = false 
)

Add/update an submission tombstone setting.

Parameters
$tombstoneIdint
$namestring
$valuemixed
$typestring data type of the setting. If omitted, type will be guessed
$isLocalizedboolean
Returns
boolean

Definition at line 56 of file DataObjectTombstoneSettingsDAO.inc.php.

References DAO\convertToDB(), DAO\replace(), and DAO\update().


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