Diversity2022 Class Reference

Inheritance diagram for Diversity2022:
BackboneModel

List of all members.

Public Member Functions

 Diversity2022 ($data)
 getId ()
 getPerson ()
 getRaces ()
 getGenders ()
 getOrientations ()
 getIndigenousApply ()
 getDisabilityVisibility ()
 getRespected ()
 getLeastRespected ()
 getImprove ()
 getPreventsTraining ()
 getTrainingTaken ()
 create ()
 update ()
 delete ()
 canView ()
 toArray ()
 exists ()
 getCacheId ()

Static Public Member Functions

static newFromId ($id)
static newFromUserId ($userId)
static getAllDiversity ()

Public Attributes

 $id = null
 $userId = ""
 $language = "en"
 $decline = ""
 $reason = ""
 $gender
 $orientation
 $indigenous = ""
 $disability = ""
 $disabilityVisibility
 $minority = ""
 $race
 $immigration = ""
 $affiliation = ""
 $age = ""
 $indigenousApply
 $trueSelf = ""
 $valued = ""
 $space = ""
 $respected
 $leastRespected
 $principles = ""
 $principlesDescribe = ""
 $statement = ""
 $improve
 $training = ""
 $preventsTraining
 $trainingTaken
 $implemented = ""
 $stem = ""
 $comments = ""

Member Function Documentation

Diversity2022::create (  ) 

Creates a new record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the creation was successful or not

Reimplemented from BackboneModel.

Diversity2022::delete (  ) 

Deletes the record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the deletion was successful or not

Reimplemented from BackboneModel.

Diversity2022::exists (  ) 

Returns whether or not this BackboneModel exists or not

Returns:
boolean Returns whether or not this BackboneModel exists or not

Reimplemented from BackboneModel.

static Diversity2022::getAllDiversity (  )  [static]

Returns all Diversities available to a user

Returns:
Array An Array of Diversities
Diversity2022::getCacheId (  ) 

Returns the id of this BackboneModel's cache

Returns:
string Returns the id of this BackboneModel's cache

Reimplemented from BackboneModel.

Diversity2022::getId (  ) 
Returns:
int Returns the id of this BackboneModel

Reimplemented from BackboneModel.

static Diversity2022::newFromId ( id  )  [static]

Returns a new Diversity from the given id

Parameters:
id $id The id of the Diversity
Returns:
Diversity The Diversity with the given id
static Diversity2022::newFromUserId ( userId  )  [static]

Returns a new Diversity from the given user id

Parameters:
id $id The id of the Diversity
Returns:
Diversity The Diversity with the given id
Diversity2022::toArray (  ) 

Generates and returns an array version of this BackboneModel

Returns:
array Returns an array version of this BackboneModel

Reimplemented from BackboneModel.

Diversity2022::update (  ) 

Updates the record in the DB for this BackboneModel

Returns:
boolean Returns whether or not the update was successful or not

Reimplemented from BackboneModel.


Member Data Documentation

Diversity2022::$disabilityVisibility
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )
Diversity2022::$gender
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )
Diversity2022::$improve
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )
Diversity2022::$indigenousApply
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )
Diversity2022::$leastRespected
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )
Diversity2022::$orientation
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )
Diversity2022::$preventsTraining
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )
Diversity2022::$race
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )
Diversity2022::$respected
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )
Diversity2022::$trainingTaken
Initial value:
 array(
        'values' => array(),
        'other' => "",
        'decline' => ""
    )

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

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1