UserLanguage Class Reference

List of all members.

Public Member Functions

 UserLanguage ($data)
 getId ()
 getPerson ()
 getLanguage ()
 canRead ()
 canWrite ()
 canSpeak ()
 canUnderstand ()
 canReview ()

Static Public Member Functions

static newFromId ($id)

Public Attributes

 $id
 $person
 $language
 $read
 $write
 $speak
 $understand
 $review

Member Function Documentation

UserLanguage::canRead (  ) 

Returns whether or not the Person can read this UserLanguage

Returns:
boolean Whether or not the Person can read this UserLanguage
UserLanguage::canReview (  ) 

Returns whether or not the Person can peer review in this UserLanguage

Returns:
boolean Whether or not the Person can peer review in this UserLanguage
UserLanguage::canSpeak (  ) 

Returns whether or not the Person can speak this UserLanguage

Returns:
boolean Whether or not the Person can speak this UserLanguage
UserLanguage::canUnderstand (  ) 

Returns whether or not the Person can understand this UserLanguage

Returns:
boolean Whether or not the Person can understand this UserLanguage
UserLanguage::canWrite (  ) 

Returns whether or not the Person can write this UserLanguage

Returns:
boolean Whether or not the Person can write this UserLanguage
UserLanguage::getId (  ) 

Returns the id of this UserLanguage

Returns:
integer The id of this UserLanguage
UserLanguage::getLanguage (  ) 

Returns the name of this UserLanguage

Returns:
string The name of this UserLanguage
UserLanguage::getPerson (  ) 

Returns the Person that this UserLanguage definition belongs to

Returns:
Person The Person that this UserLanguage definition belongs to
static UserLanguage::newFromId ( id  )  [static]

Returns a new UserLanguage from the given id

Parameters:
integer $id The id of the entry in the DB
Returns:
UserLanguage The UserLanguage from the given id

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

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1