ArticleXMLGalleyDAO Class Reference
[Plugins_generic_xmlGalley]

Extended DAO methods for XML-derived galleys NB: These require access to a number of hooks in ArticleGalleyDAO to override the default methods; this is prime for refactoring! More...

Inheritance diagram for ArticleXMLGalleyDAO:

ArticleGalleyDAO DAO

List of all members.

Public Member Functions

 _getXMLGalleyFromId ($galleyId, $articleId=null)
 appendXMLGalleys ($hookName, $args)
 deleteXMLGalleys ($hookName, $args)
 incrementXMLViews ($hookName, $args)
 insertXMLGalleys ($hookName, $args)


Detailed Description

Extended DAO methods for XML-derived galleys NB: These require access to a number of hooks in ArticleGalleyDAO to override the default methods; this is prime for refactoring!

Definition at line 23 of file ArticleXMLGalleyDAO.inc.php.


Member Function Documentation

ArticleXMLGalleyDAO._getXMLGalleyFromId ( galleyId,
articleId = null 
)

Internal function to return an ArticleXMLGalley object from an XML galley Id

Parameters:
$galleyId int
$articleId int
Returns:
ArticleXMLGalley

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

References ArticleGalleyDAO._returnGalleyFromRow(), PluginRegistry.getPlugin(), and DAO.retrieve().

Referenced by appendXMLGalleys().

ArticleXMLGalleyDAO.appendXMLGalleys ( hookName,
args 
)

Append XML-derived galleys (eg. PDF) to the list of galleys for an article

Definition at line 71 of file ArticleXMLGalleyDAO.inc.php.

References _getXMLGalleyFromId(), Request.getJournal(), PluginRegistry.getPlugin(), and DAO.retrieve().

ArticleXMLGalleyDAO.deleteXMLGalleys ( hookName,
args 
)

Delete XML-derived galleys from article_xml_galleys when the XML galley is deleted

Definition at line 172 of file ArticleXMLGalleyDAO.inc.php.

References DAO.update().

ArticleXMLGalleyDAO.incrementXMLViews ( hookName,
args 
)

Increment views on XML-derived galleys

Definition at line 193 of file ArticleXMLGalleyDAO.inc.php.

References DAO.update().

ArticleXMLGalleyDAO.insertXMLGalleys ( hookName,
args 
)

Insert XML-derived galleys into article_xml_galleys

Definition at line 119 of file ArticleXMLGalleyDAO.inc.php.

References Request.getJournal(), PluginRegistry.getPlugin(), and DAO.update().


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

Generated on Mon Jul 14 10:55:39 2008 for Open Journal Systems by  doxygen 1.5.6