Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
SectionHandler Class Reference
Inheritance diagram for SectionHandler:
ManagerHandler Handler PKPHandler

Public Member Functions

 createSection ($args, &$request)
 
 deleteSection ($args, &$request)
 
 editSection ($args, &$request)
 
 moveSection ($args, &$request)
 
 SectionHandler ()
 
 sections ($args, &$request)
 
 setupTemplate ($subclass=false)
 
 updateSection ($args, &$request)
 
- Public Member Functions inherited from ManagerHandler
 email ($args)
 
 index ()
 
 ManagerHandler ()
 
retrieveRoleAssignmentPreferences ($journalId)
 
 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 ()
 
 requireSSL ()
 
 setDispatcher (&$dispatcher)
 
 setId ($id)
 
 validate ($requiredContexts=null, $request=null)
 

Detailed Description

Handle requests for section management functions.

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

Member Function Documentation

SectionHandler::createSection (   $args,
$request 
)

Display form to create a new section.

Parameters
$argsarray
$requestPKPRequest

Definition at line 55 of file SectionHandler.inc.php.

References editSection().

SectionHandler::deleteSection (   $args,
$request 
)

Delete a section.

Parameters
$argsarray first parameter is the ID of the section to delete
$requestPKPRequest

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

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

SectionHandler::editSection (   $args,
$request 
)

Display form to create/edit a section.

Parameters
$argsarray if set the first parameter is the ID of the section to edit
$requestPKPRequest

Definition at line 64 of file SectionHandler.inc.php.

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

Referenced by createSection().

SectionHandler::moveSection (   $args,
$request 
)

Change the sequence of a section.

Parameters
$argsarray
$requestPKPRequest

Definition at line 136 of file SectionHandler.inc.php.

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

SectionHandler::SectionHandler ( )

Constructor

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

SectionHandler::sections (   $args,
$request 
)

Display a list of the sections within the current journal.

Parameters
$argsarray
$requestPKPRequest

Definition at line 31 of file SectionHandler.inc.php.

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

SectionHandler::setupTemplate (   $subclass = false)

Configure the template.

Parameters
$subclassboolean True iff this page is a second level deep in the breadcrumb heirarchy.

Definition at line 178 of file SectionHandler.inc.php.

References AppLocale\requireComponents(), and Request\url().

Referenced by editSection(), sections(), and updateSection().

SectionHandler::updateSection (   $args,
$request 
)

Save changes to a section.

Parameters
$argsarray
$requestPKPRequest

Definition at line 84 of file SectionHandler.inc.php.

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


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