PHP Класс ArticleHandler, ojs

Наследование: extends ToroHandler
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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