Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SubmissionRequiredPolicy Class Reference
Inheritance diagram for SubmissionRequiredPolicy:
DataObjectRequiredPolicy AuthorizationPolicy

Public Member Functions

 dataObjectEffect ()
 SubmissionRequiredPolicy ($request, &$args, $submissionParameterName= 'submissionId', $operations=null)
- Public Member Functions inherited from DataObjectRequiredPolicy
 dataObjectEffect ()
 DataObjectRequiredPolicy ($request, &$args, $parameterName, $message=null, $operations=null)
 effect ()
getArgs ()
 getDataObjectId ()
getRequest ()
- Public Member Functions inherited from AuthorizationPolicy
 addAuthorizedContextObject ($assocType, &$authorizedObject)
 applies ()
 AuthorizationPolicy ($message=null)
 effect ()
getAdvice ($adviceType)
getAuthorizedContext ()
getAuthorizedContextObject ($assocType)
 hasAdvice ($adviceType)
 hasAuthorizedContextObject ($assocType)
 setAdvice ($adviceType, &$adviceContent)
 setAuthorizedContext (&$authorizedContext)

Additional Inherited Members

- Public Attributes inherited from AuthorizationPolicy
 $_advice = array()
 $_authorizedContext = array()

Detailed Description

Policy that ensures that the request contains a valid submission.

Definition at line 17 of file

Member Function Documentation

SubmissionRequiredPolicy::SubmissionRequiredPolicy (   $request,
  $submissionParameterName = 'submissionId',
  $operations = null 


$argsarray request parameters
$submissionParameterNamestring the request parameter we expect the submission id in.

Definition at line 25 of file

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