PHP 클래스 CounterHandler, ojs

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

공개 프로퍼티들

프로퍼티 타입 설명
$plugin Plugin associated with this request *

공개 메소드들

메소드 설명
__construct ( ) Constructor
_arrangeEntries ( $entries, $begin, $end ) : array Internal function to collect structures for output
_assignTemplateCounterXML ( $templateManager, $begin, $end = '' ) Internal function to assign information for the Counter part of a report
_formColumns ( &$cols, $entries ) Internal function to form some of the CSV columns
index ( $args, $request ) Display the main log analyzer page.
report ( $args, $request ) Counter report as CSV
reportXML ( $args, $request ) Counter report in XML
sushiXML ( $args, $request ) SUSHI report
validate ( $canRedirect = true ) Validate that user has site admin privileges or journal manager privileges.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

_arrangeEntries() 공개 메소드

Internal function to collect structures for output
public _arrangeEntries ( $entries, $begin, $end ) : array
$entries
$begin
$end
리턴 array

_assignTemplateCounterXML() 공개 메소드

Internal function to assign information for the Counter part of a report
public _assignTemplateCounterXML ( $templateManager, $begin, $end = '' )

_formColumns() 공개 메소드

Internal function to form some of the CSV columns
public _formColumns ( &$cols, $entries )

index() 공개 메소드

Display the main log analyzer page.
public index ( $args, $request )

report() 공개 메소드

Counter report as CSV
public report ( $args, $request )

reportXML() 공개 메소드

Counter report in XML
public reportXML ( $args, $request )

sushiXML() 공개 메소드

SUSHI report
public sushiXML ( $args, $request )

validate() 공개 메소드

Redirects to the user index page if not properly authenticated.
public validate ( $canRedirect = true )
$canRedirect boolean Whether or not to redirect if the user cannot be validated; if not, the script simply terminates.

프로퍼티 상세

$plugin 공개적으로 프로퍼티

Plugin associated with this request *
public $plugin