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

Public Member Functions

 getPhraseResults ($press, $phrase, $publishedFrom=null, $publishedTo=null, $type=null, $limit=500, $cacheHours=24)
 MonographSearchDAO ()
- Public Member Functions inherited from SubmissionSearchDAO
 clearIndex ()
 deleteSubmissionKeywords ($submissionId, $type=null, $assocId=null)
 insertKeyword ($keyword)
 insertObject ($submissionId, $type, $assocId, $keepExisting=false)
 insertObjectKeyword ($objectId, $keyword, $position)
 SubmissionSearchDAO ()
- 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
- Protected Member Functions inherited from DAO
 _getInsertId ($table= '', $id= '')

Detailed Description

DAO class for monograph search index.

See Also

Definition at line 20 of file

Member Function Documentation

MonographSearchDAO::getPhraseResults (   $press,
  $publishedFrom = null,
  $publishedTo = null,
  $type = null,
  $limit = 500,
  $cacheHours = 24 

Retrieve the top results for a phrases with the given limit (default 500 results).

array of results (associative arrays)

Definition at line 34 of file

References DAO\retrieveCached().

MonographSearchDAO::MonographSearchDAO ( )


Definition at line 24 of file

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