Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
TranslatorHandler Class Reference
Inheritance diagram for TranslatorHandler:
Handler PKPHandler

Public Member Functions

 export ($args, $request)
 
 TranslatorHandler ()
 
- 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

This handles requests for the translator plugin.

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

Member Function Documentation

TranslatorHandler::export (   $args,
  $request 
)

Export the locale files to the browser as a tarball. Requires tar (configured in config.inc.php) for operation.

Definition at line 127 of file TranslatorHandler.inc.php.

References TranslatorAction\export(), PKPLocale\isLocaleValid(), and PKPHandler\validate().

TranslatorHandler::TranslatorHandler ( )

Constructor

Definition at line 28 of file TranslatorHandler.inc.php.

References PKPHandler\addCheck(), and Registry\get().


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