Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ManagerSettingsTabHandler Class Reference
Inheritance diagram for ManagerSettingsTabHandler:
SettingsTabHandler Handler PKPHandler AccessSettingsTabHandler DistributionSettingsTabHandler PressSettingsTabHandler PublicationSettingsTabHandler WebsiteSettingsTabHandler

Public Member Functions

 authorize ($request, &$args, $roleAssignments)
 
 getWizardMode ()
 
 initialize ($request, $args=null)
 
 ManagerSettingsTabHandler ()
 
 setWizardMode ($wizardMode)
 
- Public Member Functions inherited from SettingsTabHandler
 _getFormClassName ($classPath)
 
 _getTabTemplate ()
 
 _isManagementHandler ()
 
 _isTabTemplate ()
 
 _isValidTab ()
 
 getCurrentTab ()
 
 getPageTabs ()
 
 getTabForm ()
 
 initialize ($request)
 
 saveFormData ($args, $request)
 
 setCurrentTab ($currentTab)
 
 setPageTabs ($pageTabs)
 
 SettingsTabHandler ($role)
 
 showTab ($args, $request)
 
- Public Member Functions inherited from Handler
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, $bestGuess=true)
 
 getWorkingContexts ($request)
 
 Handler ()
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getWorkingContexts ($request)
 
 index ($args, $request)
 
 initialize ($request, $args=null)
 
 PKPHandler ()
 
 setDispatcher ($dispatcher)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_roleAssignments = array()
 

Detailed Description

Handle AJAX operations for tabs on manangement settings pages. Implements the wizard mode, to let tabs show basic or advanced settings.

Definition at line 20 of file ManagerSettingsTabHandler.inc.php.

Member Function Documentation

ManagerSettingsTabHandler::authorize (   $request,
$args,
  $roleAssignments 
)

Authorize this request.

Routers will call this method automatically thereby enforcing authorization. This method will be called before the validate() method and before passing control on to the handler operation.

NB: This method will be called once for every request only.

Parameters
$requestRequest
$argsarray request arguments
$roleAssignmentsarray the operation role assignment, see getRoleAssignment() for more details.
$enforceRestrictedSiteboolean True iff site restrictions are to be enforced
Returns
boolean

Definition at line 39 of file ManagerSettingsTabHandler.inc.php.

ManagerSettingsTabHandler::getWizardMode ( )

Get if the current tab is in wizard mode.

Returns
boolean

Definition at line 53 of file ManagerSettingsTabHandler.inc.php.

ManagerSettingsTabHandler::initialize (   $request,
  $args = null 
)

See Also
PKPHandler::initialize()

Definition at line 72 of file ManagerSettingsTabHandler.inc.php.

ManagerSettingsTabHandler::ManagerSettingsTabHandler ( )

Constructor

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

ManagerSettingsTabHandler::setWizardMode (   $wizardMode)

Set if the current tab is in wizard mode.

Parameters
$wizardModeboolean

Definition at line 61 of file ManagerSettingsTabHandler.inc.php.


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