PHP 클래스 PKPUserImportExportPlugin, pkp-lib

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

공개 메소드들

메소드 설명
__construct ( ) Constructor
display ( $args, $request ) Display the plugin.
exportAllUsers ( $context, $user ) : string Get the XML for all of users.
exportUsers ( $ids, $context, $user ) : string Get the XML for a set of users.
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 )
importUsers ( $importXml, $context, $user ) : array Get the XML for a set of users.
register ( $category, $path ) : boolean Called as a plugin is registered to the registry

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

display() 공개 메소드

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

exportAllUsers() 공개 메소드

Get the XML for all of users.
public exportAllUsers ( $context, $user ) : string
$context Context
$user User
리턴 string XML contents representing the supplied user IDs.

exportUsers() 공개 메소드

Get the XML for a set of users.
public exportUsers ( $ids, $context, $user ) : string
$ids array mixed Array of users or user IDs
$context Context
$user User
리턴 string XML contents representing the supplied user 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 )

importUsers() 공개 메소드

Get the XML for a set of users.
public importUsers ( $importXml, $context, $user ) : array
$importXml string XML contents to import
$context Context
$user User
리턴 array Set of imported users

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.