PHP Класс NativeImportExportPlugin, ojs

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

Открытые методы

Метод Описание
__construct ( ) Constructor
display ( $args, $request ) Display the plugin.
executeCLI ( $scriptName, &$args )
exportIssues ( $issueIds, $context, $user ) : string Get the XML for a set of issues.
exportSubmissions ( $submissionIds, $context, $user ) : string Get the XML for a set of submissions.
getDescription ( ) : string Get the display description.
getDisplayName ( ) : string Get the display name.
getName ( ) : String Get the name of this plugin. The name must be unique within its category.
getPluginSettingsPrefix ( )
getTemplatePath ( $inCore = false )
importSubmissions ( $importXml, $filter, $deployment ) : array Get the XML for a set of submissions wrapped in a(n) issue(s).
register ( $category, $path ) : boolean Called as a plugin is registered to the registry
usage ( $scriptName )

Описание методов

__construct() публичный Метод

Constructor
public __construct ( )

display() публичный Метод

Display the plugin.
public display ( $args, $request )
$args array
$request PKPRequest

executeCLI() публичный Метод

См. также: PKPImportExportPlugin::executeCLI()
public executeCLI ( $scriptName, &$args )

exportIssues() публичный Метод

Get the XML for a set of issues.
public exportIssues ( $issueIds, $context, $user ) : string
$issueIds array Array of issue IDs
$context Context
$user User
Результат string XML contents representing the supplied issue IDs.

exportSubmissions() публичный Метод

Get the XML for a set of submissions.
public exportSubmissions ( $submissionIds, $context, $user ) : string
$submissionIds array Array of submission IDs
$context Context
$user User|null
Результат string XML contents representing the supplied submission IDs.

getDescription() публичный Метод

Get the display description.
public getDescription ( ) : string
Результат string

getDisplayName() публичный Метод

Get the display name.
public getDisplayName ( ) : string
Результат string

getName() публичный Метод

Get the name of this plugin. The name must be unique within its category.
public getName ( ) : String
Результат String name of plugin

getPluginSettingsPrefix() публичный Метод

getTemplatePath() публичный Метод

public getTemplatePath ( $inCore = false )

importSubmissions() публичный Метод

Get the XML for a set of submissions wrapped in a(n) issue(s).
public importSubmissions ( $importXml, $filter, $deployment ) : array
$importXml string XML contents to import
$filter string Filter to be used
$deployment PKPImportExportDeployment
Результат array Set of imported submissions

register() публичный Метод

Called as a plugin is registered to the registry
public register ( $category, $path ) : boolean
$category String Name of category plugin was registered to
$path string
Результат boolean True iff plugin initialized successfully; if false, the plugin will not be registered.

usage() публичный Метод

public usage ( $scriptName )