Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
PKPFileDAO Class Reference
Inheritance diagram for PKPFileDAO:
DAO ArticleFileDAO IssueFileDAO PKPSubmissionFileDAO

Public Member Functions

 isInlineable ($file)
 
 PKPFileDAO ()
 
- 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

Abstract base class for retrieving and modifying PKPFile objects and their decendents.

See Also
PKPFile

Definition at line 20 of file PKPFileDAO.inc.php.

Member Function Documentation

PKPFileDAO::isInlineable (   $file)

Check whether a file may be displayed inline.

Parameters
$pkpFilePKPFile
Returns
boolean

Definition at line 43 of file PKPFileDAO.inc.php.

PKPFileDAO::PKPFileDAO ( )

Constructor

Definition at line 30 of file PKPFileDAO.inc.php.


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