Monograph file policy to check if the file belongs to the monograph. More...
Public Member Functions | |
| effect () | |
| MonographFileMatchesMonographPolicy (&$request, $fileIdAndRevision=null) | |
Monograph file policy to check if the file belongs to the monograph.
NB: This policy expects a previously authorized monograph in the authorization context.
Definition at line 19 of file MonographFileMatchesMonographPolicy.inc.php.
| MonographFileMatchesMonographPolicy.effect | ( | ) |
Definition at line 35 of file MonographFileMatchesMonographPolicy.inc.php.
References MonographFileBaseAccessPolicy.getMonographFile(), and MonographFileBaseAccessPolicy.getRequest().
| MonographFileMatchesMonographPolicy.MonographFileMatchesMonographPolicy | ( | &$ | request, | |
| $ | fileIdAndRevision = null | |||
| ) |
Constructor
| $request | PKPRequest |
Definition at line 24 of file MonographFileMatchesMonographPolicy.inc.php.
References MonographFileBaseAccessPolicy.MonographFileBaseAccessPolicy().
1.7.1