PHP 클래스 ArticleHandler, ojs

상속: extends ToroHandler
파일 보기 프로젝트 열기: pkp/ojs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$article article associated with the request *
$galley galley associated with the request *
$issue issue associated with the request *
$journal journal associated with the request *

공개 메소드들

메소드 설명
__construct ( ) Constructor
authorize ( $request, &$args, $roleAssignments )
cite ( $args, $request ) Fetch an item citation
download ( array $args, PKPRequest $request ) Download an article file
downloadSuppFile ( $args, $request ) Download a supplementary file.
initialize ( $request, $args )
setupTemplate ( $request ) Set up the template. (Load required locale components.)
userCanViewGalley ( $request, $articleId, $galleyId = null ) Determines whether a user can view this article galley or not.
view ( $args, $request ) View Article. (Either article landing page or galley view.)
viewFile ( $args, $request ) Download an article file For deprecated OJS 2.x URLs; see https://github.com/pkp/pkp-lib/issues/1541

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

authorize() 공개 메소드

public authorize ( $request, &$args, $roleAssignments )

cite() 공개 메소드

Fetch an item citation
public cite ( $args, $request )
$args
$request

download() 공개 메소드

Download an article file
public download ( array $args, PKPRequest $request )
$args array
$request PKPRequest

downloadSuppFile() 공개 메소드

For deprecated OJS 2.x URLs; see https://github.com/pkp/pkp-lib/issues/1541
public downloadSuppFile ( $args, $request )
$args array
$request PKPRequest

initialize() 공개 메소드

또한 보기: PKPHandler::initialize()
public initialize ( $request, $args )

setupTemplate() 공개 메소드

Set up the template. (Load required locale components.)
public setupTemplate ( $request )
$request PKPRequest

userCanViewGalley() 공개 메소드

Determines whether a user can view this article galley or not.
public userCanViewGalley ( $request, $articleId, $galleyId = null )
$request Request
$articleId string
$galleyId int or string

view() 공개 메소드

View Article. (Either article landing page or galley view.)
public view ( $args, $request )
$args array
$request Request

viewFile() 공개 메소드

Download an article file For deprecated OJS 2.x URLs; see https://github.com/pkp/pkp-lib/issues/1541
public viewFile ( $args, $request )
$args array
$request PKPRequest

프로퍼티 상세

$article 공개적으로 프로퍼티

article associated with the request *
public $article

$galley 공개적으로 프로퍼티

galley associated with the request *
public $galley

$issue 공개적으로 프로퍼티

issue associated with the request *
public $issue

$journal 공개적으로 프로퍼티

journal associated with the request *
public $journal