Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SubjectDAO Class Reference
Inheritance diagram for SubjectDAO:
CodelistItemDAO DAO

Public Member Functions

 getFilename ($locale)
 
 getName ()
 
 newDataObject ()
 
 SubjectDAO ()
 
- Public Member Functions inherited from CodelistItemDAO
_returnFromRow ($code, &$entry)
 
 CodelistItemDAO ()
 
getByCode ($code)
 
 getCacheName ()
 
getCodelistItems ($locale=null)
 
 getFilename ($locale)
 
 getName ()
 
getNames ($locale=null)
 
 newDataObject ()
 
- 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 ()
 
getDataSource ()
 
 getDirectionMapping ($direction)
 
 getDriver ()
 
 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

- Static Public Member Functions inherited from DAO
static getDataChangedEvent ($elementId=null, $parentElementId=null)
 
- Public Attributes inherited from DAO
 $_dataSource
 
- Protected Member Functions inherited from DAO
 _getInsertId ($table= '', $id= '')
 

Detailed Description

Operations for retrieving and modifying Subject Subject objects.

See Also
Subject

Definition at line 21 of file SubjectDAO.inc.php.

Member Function Documentation

SubjectDAO::getFilename (   $locale)

Get the filename of the subject database

Parameters
$localestring
Returns
string

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

References PKPLocale\isLocaleValid().

SubjectDAO::getName ( )

Get the base node name particular codelist database This is also the node name in the XML.

Returns
string

Definition at line 47 of file SubjectDAO.inc.php.

SubjectDAO::newDataObject ( )

Get the name of the CodelistItem class.

Returns
String

Definition at line 55 of file SubjectDAO.inc.php.

SubjectDAO::SubjectDAO ( )

Constructor.

Definition at line 26 of file SubjectDAO.inc.php.


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