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

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 ()
 
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)
 

Public Attributes

 $_inlineableTypes
 
- Public Attributes inherited from DAO
 $_dataSource
 

Additional Inherited Members

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

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 46 of file PKPFileDAO.inc.php.

PKPFileDAO::PKPFileDAO ( )

Constructor

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

Member Data Documentation

array PKPFileDAO::$_inlineableTypes

a private list of MIME types that can be shown inline in the browser

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


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