|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| _handleCompatibility ($element, $plugin, $application) | |
| _handleMaintainer ($element, $plugin) | |
| _handleRelease ($element, $plugin, $application) | |
| getNewestCompatible ($application, $category=null, $search=null) | |
| newDataObject () | |
Public Member Functions inherited from DAO | |
| __construct ($dataSource=null, $callHooks=true) | |
| concat () | |
| convertFromDB ($value, $type) | |
| convertToDB ($value, &$type) | |
| dateFromDB ($d) | |
| datetimeFromDB ($dt) | |
| datetimeToDB ($dt) | |
| dateToDB ($d) | |
| flushCache () | |
| formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true) | |
| getAdditionalFieldNames () | |
| getAffectedRows () | |
| getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, $dataObject) | |
| getDataSource () | |
| getDirectionMapping ($direction) | |
| getDriver () | |
| getLocaleFieldNames () | |
| getType ($value) | |
| handleError ($dataSource, $sql) | |
| nullOrInt ($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) | |
Protected Member Functions | |
| _compatibleFromElement ($element, $application) | |
Protected Member Functions inherited from DAO | |
| _getInsertId ($table='', $id='') | |
Additional Inherited Members | |
Static Public Member Functions inherited from DAO | |
| static | getDataChangedEvent ($elementId=null, $parentElementId=null, $content='') |
Data Fields inherited from DAO | |
| $_dataSource | |
Operations for retrieving content from the PKP plugin gallery.
Definition at line 21 of file PluginGalleryDAO.inc.php.
|
protected |
Build a GalleryPlugin from a DOM element, using the newest compatible release with the supplied Application.
| $element | DOMElement |
| $application | Application |
Definition at line 76 of file PluginGalleryDAO.inc.php.
References $application, _handleMaintainer(), _handleRelease(), and newDataObject().
Referenced by getNewestCompatible().
| PluginGalleryDAO::_handleCompatibility | ( | $element, | |
| $plugin, | |||
| $application | |||
| ) |
Handle a compatibility element, fishing out the most recent statement of compatibility.
| $maintainerElement | DOMElement |
| $plugin | GalleryPlugin |
| $application | PKPApplication |
Definition at line 206 of file PluginGalleryDAO.inc.php.
References $application.
Referenced by _handleRelease().
| PluginGalleryDAO::_handleMaintainer | ( | $element, | |
| $plugin | |||
| ) |
Handle a maintainer element
| $maintainerElement | DOMElement |
| $plugin | GalleryPlugin |
Definition at line 125 of file PluginGalleryDAO.inc.php.
Referenced by _compatibleFromElement().
| PluginGalleryDAO::_handleRelease | ( | $element, | |
| $plugin, | |||
| $application | |||
| ) |
Handle a release element
| $maintainerElement | DOMElement |
| $plugin | GalleryPlugin |
| $application | PKPApplication |
Definition at line 151 of file PluginGalleryDAO.inc.php.
References $application, and _handleCompatibility().
Referenced by _compatibleFromElement().
| PluginGalleryDAO::getNewestCompatible | ( | $application, | |
$category = null, |
|||
$search = null |
|||
| ) |
Get a set of GalleryPlugin objects describing the available compatible plugins in their newest versions.
| $application | PKPApplication |
| $category | string Optional category name to use as filter |
| $search | string Optional text to use as filter |
Definition at line 31 of file PluginGalleryDAO.inc.php.
References $application, _compatibleFromElement(), PKPString\strpos(), and PKPString\strtolower().
| PluginGalleryDAO::newDataObject | ( | ) |
Construct a new data object.
Definition at line 65 of file PluginGalleryDAO.inc.php.
Referenced by _compatibleFromElement().