Open Journal Systems
3.3.0
|
Additional Inherited Members | |
Static Public Member Functions inherited from PersistableFilter | |
static | tempGroup ($inputType, $outputType) |
Static Public Member Functions inherited from Filter | |
static | supportedRuntimeEnvironmentSettings () |
Data Fields inherited from NativeImportExportFilter | |
$_deployment | |
Data Fields inherited from PersistableFilter | |
$_filterGroup | |
$_settings = array() | |
Data Fields inherited from Filter | |
$_errors = array() | |
$_input | |
$_inputType | |
$_output | |
$_outputType | |
$_runtimeEnvironment = false | |
Data Fields inherited from DataObject | |
$_data = array() | |
$_extractionAdaptersLoaded = false | |
$_hasLoadableAdapters = false | |
$_injectionAdaptersLoaded = false | |
$_metadataExtractionAdapters = array() | |
$_metadataInjectionAdapters = array() | |
Base class that converts a User XML document to a set of users.
Definition at line 18 of file UserXmlPKPUserFilter.inc.php.
UserXmlPKPUserFilter::__construct | ( | $filterGroup | ) |
Constructor
$filterGroup | FilterGroup |
Reimplemented from NativeImportFilter.
Definition at line 23 of file UserXmlPKPUserFilter.inc.php.
References Filter\setDisplayName().
UserXmlPKPUserFilter::getClassName | ( | ) |
Return the fully qualified class name of the filter class. This information must be persisted when saving a filter so that the filter can later be reconstructed from the information in the database.
(This must be hard coded by sub-classes for PHP4 compatibility. PHP4 always returns class names lowercase which we cannot tolerate as we need this path to find the class on case sensitive file systems.)
Reimplemented from PersistableFilter.
Definition at line 45 of file UserXmlPKPUserFilter.inc.php.
UserXmlPKPUserFilter::getPluralElementName | ( | ) |
Return the plural element name
Reimplemented from NativeImportFilter.
Definition at line 35 of file UserXmlPKPUserFilter.inc.php.
UserXmlPKPUserFilter::handleChildElement | ( | $n | ) |
Handle an element whose parent is the submission element.
$n | DOMElement |
Definition at line 290 of file UserXmlPKPUserFilter.inc.php.
References fatalError(), parseUser(), and parseUserGroup().
Referenced by handleElement().
UserXmlPKPUserFilter::handleElement | ( | $node | ) |
Handle a singular element import.
$node | DOMElement |
Reimplemented from NativeImportFilter.
Definition at line 274 of file UserXmlPKPUserFilter.inc.php.
References NativeImportExportFilter\getDeployment(), and handleChildElement().
UserXmlPKPUserFilter::importUserPasswordValidation | ( | $userToImport, | |
$encryption | |||
) |
Validation process for imported passwords
$userToImport | User ByRef. The user that is being imported. |
$encryption | string null, sha1, md5 (or any other encryption algorithm defined) |
Definition at line 309 of file UserXmlPKPUserFilter.inc.php.
References Filter\addError(), Validation\encryptCredentials(), Validation\generatePassword(), and DAORegistry\getDAO().
Referenced by parseUser().
UserXmlPKPUserFilter::parseUser | ( | $node | ) |
Handle a users element
$node | DOMElement |
Definition at line 71 of file UserXmlPKPUserFilter.inc.php.
References Filter\addError(), fatalError(), DAORegistry\getDAO(), NativeImportExportFilter\getDeployment(), and importUserPasswordValidation().
Referenced by handleChildElement().
UserXmlPKPUserFilter::parseUserGroup | ( | $node | ) |
Handle a user_groups element
$node | DOMElement |
Definition at line 54 of file UserXmlPKPUserFilter.inc.php.
References DAORegistry\getDAO(), and NativeImportExportFilter\getDeployment().
Referenced by handleChildElement().