Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
User Class Reference
Inheritance diagram for User:
PKPUser Identity DataObject

Public Member Functions

getSetting ($name, $pressId=null)
 
getSettings ($pressId=null)
 
 updateSetting ($name, $value, $type=null, $pressId=null)
 
- Public Member Functions inherited from PKPUser
 getAuthId ()
 
 getAuthStr ()
 
 getBillingAddress ()
 
 getDateLastEmail ()
 
 getDateLastLogin ()
 
 getDateRegistered ()
 
 getDateValidated ()
 
 getDisabled ()
 
 getDisabledReason ()
 
 getFax ()
 
 getGender ()
 
 getGossip ($locale)
 
 getInlineHelp ()
 
 getInterestString ()
 
 getLocales ()
 
 getLocalizedGossip ()
 
 getLocalizedSignature ()
 
 getMailingAddress ()
 
 getMustChangePassword ()
 
 getPassword ()
 
 getPhone ()
 
 getSignature ($locale)
 
 getUserInterests ()
 
 getUsername ()
 
 PKPUser ()
 
 setAuthId ($authId)
 
 setAuthStr ($authStr)
 
 setBillingAddress ($billingAddress)
 
 setDateLastEmail ($dateLastEmail)
 
 setDateLastLogin ($dateLastLogin)
 
 setDateRegistered ($dateRegistered)
 
 setDateValidated ($dateValidated)
 
 setDisabled ($disabled)
 
 setDisabledReason ($reasonDisabled)
 
 setFax ($fax)
 
 setGender ($gender)
 
 setGossip ($gossip, $locale)
 
 setInlineHelp ($inlineHelp)
 
 setLocales ($locales)
 
 setMailingAddress ($mailingAddress)
 
 setMustChangePassword ($mustChangePassword)
 
 setPassword ($password)
 
 setPhone ($phone)
 
 setSignature ($signature, $locale)
 
 setUsername ($username)
 
- Public Member Functions inherited from Identity
 getAffiliation ($locale)
 
 getBiography ($locale)
 
 getCountry ()
 
 getCountryLocalized ()
 
 getEmail ()
 
 getFirstName ()
 
 getFullName ($lastFirst=false)
 
 getInitials ()
 
 getLastName ()
 
 getLocalizedAffiliation ()
 
 getLocalizedBiography ()
 
 getMiddleName ()
 
 getSalutation ()
 
 getSuffix ()
 
 getUrl ()
 
 Identity ()
 
 setAffiliation ($affiliation, $locale)
 
 setBiography ($biography, $locale)
 
 setCountry ($country)
 
 setEmail ($email)
 
 setFirstName ($firstName)
 
 setInitials ($initials)
 
 setLastName ($lastName)
 
 setMiddleName ($middleName)
 
 setSalutation ($salutation)
 
 setSuffix ($suffix)
 
 setUrl ($url)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter ($metadataAdapter)
 
 DataObject ()
 
 extractMetadata ($metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
 getSupportedExtractionAdapters ()
 
 getSupportedInjectionAdapters ()
 
 getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata ($metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
 upcastTo ($targetObject)
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 
 $_extractionAdaptersLoaded = false
 
 $_hasLoadableAdapters = false
 
 $_injectionAdaptersLoaded = false
 
 $_metadataExtractionAdapters = array()
 
 $_metadataInjectionAdapters = array()
 

Detailed Description

Basic class describing users existing in the system.

See Also
UserDAO

Definition at line 20 of file User.inc.php.

Member Function Documentation

& User::getSetting (   $name,
  $pressId = null 
)

Retrieve a user setting value.

Parameters
$name
$pressIdint
Returns
mixed

Definition at line 43 of file User.inc.php.

References DAORegistry\getDAO(), and DataObject\getId().

& User::getSettings (   $pressId = null)

Retrieve array of user settings.

Parameters
pressIdint
Returns
array

Definition at line 31 of file User.inc.php.

References DAORegistry\getDAO(), and DataObject\getId().

User::updateSetting (   $name,
  $value,
  $type = null,
  $pressId = null 
)

Set a user setting value.

Parameters
$namestring
$valuemixed
$typestring optional

Definition at line 55 of file User.inc.php.

References DAORegistry\getDAO(), and DataObject\getId().


The documentation for this class was generated from the following file: