Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
AdminJournalHandler Class Reference
Inheritance diagram for AdminJournalHandler:
AdminHandler Handler PKPHandler

Public Member Functions

 AdminJournalHandler ()
 
 createJournal ()
 
 deleteJournal ($args, &$request)
 
 editJournal ($args=array())
 
 journals ()
 
 moveJournal ($args, &$request)
 
 setupTemplate ()
 
 updateJournal ($args, &$request)
 
- Public Member Functions inherited from AdminHandler
 AdminHandler ()
 
 index ()
 
 setupTemplate ($subclass=false)
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy (&$authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize (&$request, &$args, $roleAssignments)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
getRangeInfo ($rangeName, $contextData=null)
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 hashPageContext ($contextData=array())
 
 index ()
 
 initialize (&$request, $args=null)
 
 PKPHandler ()
 
 setDispatcher (&$dispatcher)
 
 setId ($id)
 
 validate ($requiredContexts=null, $request=null)
 

Detailed Description

Handle requests for journal management in site administration.

Definition at line 18 of file AdminJournalHandler.inc.php.

Member Function Documentation

AdminJournalHandler::AdminJournalHandler ( )

Constructor

Definition at line 22 of file AdminJournalHandler.inc.php.

AdminJournalHandler::createJournal ( )

Display form to create a new journal.

Definition at line 49 of file AdminJournalHandler.inc.php.

References editJournal().

AdminJournalHandler::deleteJournal (   $args,
$request 
)

Delete a journal.

Parameters
$argsarray first parameter is the ID of the journal to delete
$requestobject

Definition at line 117 of file AdminJournalHandler.inc.php.

References DAORegistry\getDAO(), Config\getVar(), and PKPHandler\validate().

AdminJournalHandler::editJournal (   $args = array())

Display form to create/edit a journal.

Parameters
$argsarray optional, if set the first parameter is the ID of the journal to edit

Definition at line 57 of file AdminJournalHandler.inc.php.

References setupTemplate(), and PKPHandler\validate().

Referenced by createJournal().

AdminJournalHandler::journals ( )

Display a list of the journals hosted on the site.

Definition at line 29 of file AdminJournalHandler.inc.php.

References DAORegistry\getDAO(), PKPHandler\getRangeInfo(), setupTemplate(), and PKPHandler\validate().

AdminJournalHandler::moveJournal (   $args,
$request 
)

Change the sequence of a journal on the site index page.

Parameters
$argsarray
$requestobject

Definition at line 147 of file AdminJournalHandler.inc.php.

References DAORegistry\getDAO(), and PKPHandler\validate().

AdminJournalHandler::setupTemplate ( )

Set up the template.

Definition at line 188 of file AdminJournalHandler.inc.php.

References AppLocale\requireComponents().

Referenced by editJournal(), journals(), and updateJournal().

AdminJournalHandler::updateJournal (   $args,
$request 
)

Save changes to a journal's settings.

Parameters
$argsarray
$requestobject

Definition at line 82 of file AdminJournalHandler.inc.php.

References PluginRegistry\loadCategory(), JournalSiteSettingsForm\readInputData(), setupTemplate(), and PKPHandler\validate().


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