PHP Class UserXmlPKPUserFilter, pkp-lib

Inheritance: extends NativeImportFilter
Datei anzeigen Open project: pkp/pkp-lib

Public Methods

Method Description
__construct ( $filterGroup ) Constructor
getClassName ( )
getPluralElementName ( ) : string Return the plural element name
handleChildElement ( $n ) Handle an element whose parent is the submission element.
handleElement ( $node ) Handle a singular element import.
parseUser ( $node ) : array Handle a users element
parseUserGroup ( $node ) : array Handle a user_groups element

Method Details

__construct() public method

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

getClassName() public method

public getClassName ( )

getPluralElementName() public method

Return the plural element name
public getPluralElementName ( ) : string
return string

handleChildElement() public method

Handle an element whose parent is the submission element.
public handleChildElement ( $n )
$n DOMElement

handleElement() public method

Handle a singular element import.
public handleElement ( $node )
$node DOMElement

parseUser() public method

Handle a users element
public parseUser ( $node ) : array
$node DOMElement
return array Array of User objects

parseUserGroup() public method

Handle a user_groups element
public parseUserGroup ( $node ) : array
$node DOMElement
return array Array of UserGroup objects