Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
authorize ($request, &$args, $roleAssignments) | |
createGalley ($args, $request) | |
createGalleyForm ($args, $request) | |
editor ($args, $request) | |
getGalley () | |
getPlugin () | |
getSubmission () | |
json ($args, $request) | |
media ($args, $request) | |
![]() | |
addPolicy ($authorizationPolicy, $addToTop=false) | |
addRoleAssignment ($roleIds, $operations) | |
getApiToken () | |
& | getAuthorizedContext () |
& | getAuthorizedContextObject ($assocType) |
& | getDispatcher () |
getFirstUserContext ($user, $contexts) | |
getId () | |
getLastAuthorizationMessage () | |
getRoleAssignment ($roleId) | |
getRoleAssignments () | |
getSiteRedirectContext ($request) | |
getTargetContext ($request, &$contextsCount=null) | |
index ($args, $request) | |
initialize ($request) | |
markRoleAssignmentsChecked () | |
requireSSL () | |
setApiToken ($apiToken) | |
setDispatcher ($dispatcher) | |
setEnforceRestrictedSite ($enforceRestrictedSite) | |
setId ($id) | |
setupTemplate ($request) | |
validate ($requiredContexts=null, $request=null) | |
Protected Member Functions | |
_buildManifestXMLFromDocument ($manuscriptXml, &$assets) | |
_buildMediaInfo ($request, $assets) | |
_createDependentFile ($genreId, $mediaData, $submission, $submissionFile, $user) | |
_updateManuscriptFile ($fileStage, $genreId, $resources, $submission, $submissionFile, $user) | |
Protected Attributes | |
$_plugin | |
![]() | |
$_apiToken = null | |
Additional Inherited Members | |
![]() | |
static | getPageParamName ($rangeName) |
static | getRangeInfo ($request, $rangeName, $contextData=null) |
static | hashPageContext ($request, $contextData=array()) |
![]() | |
$_authorizationDecisionManager | |
$_checks = array() | |
$_dispatcher | |
$_enforceRestrictedSite = true | |
$_id | |
$_isBackendPage = false | |
$_roleAssignments = array() | |
$_roleAssignmentsChecked = false | |
Handle requests for Texture plugin.
Definition at line 18 of file TextureHandler.inc.php.
TextureHandler::__construct | ( | ) |
Constructor
Reimplemented from PKPHandler.
Definition at line 28 of file TextureHandler.inc.php.
References PKPHandler\addRoleAssignment(), and PluginRegistry\getPlugin().
|
protected |
build manifest.xml from xml document
$document | string raw XML |
$assets | array list of figure metadata |
Definition at line 340 of file TextureHandler.inc.php.
References fatalError().
Referenced by json().
|
protected |
Build media info
$request | PKPRquest |
$assets | array |
Definition at line 292 of file TextureHandler.inc.php.
References DAORegistry\getDAO().
Referenced by json().
|
protected |
creates dependent file
$genreId | intr |
$mediaData | string |
$submission | Article |
$submissionFile | SubmissionFie |
$user | User |
Definition at line 449 of file TextureHandler.inc.php.
References Core\getCurrentDate(), and DAORegistry\getDAO().
Referenced by json().
|
protected |
Update manuscript XML file
$fileStage | int |
$genreId | int |
$resources | array |
$submission | Article |
$submissionFile | SubmissionFile |
$user | User |
Definition at line 484 of file TextureHandler.inc.php.
References Core\getCurrentDate(), and DAORegistry\getDAO().
Referenced by json().
TextureHandler::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.
$request | Request |
$args | array request arguments |
$roleAssignments | array the operation role assignment, see getRoleAssignment() for more details. |
Reimplemented from PKPHandler.
Definition at line 42 of file TextureHandler.inc.php.
References PKPHandler\addPolicy().
TextureHandler::createGalley | ( | $args, | |
$request | |||
) |
$args | |
$request | PKPRequest |
Definition at line 73 of file TextureHandler.inc.php.
References getPlugin(), and getSubmission().
TextureHandler::createGalleyForm | ( | $args, | |
$request | |||
) |
Create galley form
$args | array |
$request | PKPRequest |
Definition at line 55 of file TextureHandler.inc.php.
References getPlugin(), and getSubmission().
TextureHandler::editor | ( | $args, | |
$request | |||
) |
Display substance editor
$args | array |
$request | PKPRequest |
Definition at line 103 of file TextureHandler.inc.php.
References fatalError(), PKPTemplateManager\getManager(), and PKPLocale\requireComponents().
TextureHandler::getGalley | ( | ) |
Get the authorized galley.
Definition at line 556 of file TextureHandler.inc.php.
References PKPHandler\getAuthorizedContextObject().
TextureHandler::getPlugin | ( | ) |
Get the plugin.
Definition at line 548 of file TextureHandler.inc.php.
References $_plugin.
Referenced by createGalley(), and createGalleyForm().
TextureHandler::getSubmission | ( | ) |
Get the submission associated with this grid.
Definition at line 540 of file TextureHandler.inc.php.
References PKPHandler\getAuthorizedContextObject().
Referenced by createGalley(), and createGalleyForm().
TextureHandler::json | ( | $args, | |
$request | |||
) |
fetch json archive
$args | array |
$request | PKPRequest |
Definition at line 140 of file TextureHandler.inc.php.
References _buildManifestXMLFromDocument(), _buildMediaInfo(), _createDependentFile(), _updateManuscriptFile(), fatalError(), PKPHandler\getAuthorizedContextObject(), and DAORegistry\getDAO().
TextureHandler::media | ( | $args, | |
$request | |||
) |
display images attached to XML document
$args | array |
$request | PKPRequest |
Definition at line 400 of file TextureHandler.inc.php.
References fatalError(), PKPHandler\getAuthorizedContextObject(), and DAORegistry\getDAO().
|
protected |