Public Member Functions | |
| Diversity2018 ($data) | |
| getId () | |
| getPerson () | |
| getRaces () | |
| getGenders () | |
| getOrientations () | |
| isComplete () | |
| 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 | |
| $birth = "" | |
| $indigenous = "" | |
| $disability = "" | |
| $disabilityVisibility = "" | |
| $minority = "" | |
| $race | |
| $racialized = "" | |
| $immigration = "" | |
| $comments = "" | |
| Diversity2018::create | ( | ) |
Creates a new record in the DB for this BackboneModel
Reimplemented from BackboneModel.
| Diversity2018::delete | ( | ) |
Deletes the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
| Diversity2018::exists | ( | ) |
Returns whether or not this BackboneModel exists or not
Reimplemented from BackboneModel.
| static Diversity2018::getAllDiversity | ( | ) | [static] |
Returns all Diversities available to a user
| Diversity2018::getCacheId | ( | ) |
Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
| Diversity2018::getId | ( | ) |
Reimplemented from BackboneModel.
| static Diversity2018::newFromId | ( | $ | id | ) | [static] |
| static Diversity2018::newFromUserId | ( | $ | userId | ) | [static] |
| Diversity2018::toArray | ( | ) |
Generates and returns an array version of this BackboneModel
Reimplemented from BackboneModel.
| Diversity2018::update | ( | ) |
Updates the record in the DB for this BackboneModel
Reimplemented from BackboneModel.
| Diversity2018::$gender |
array(
'values' => array(),
'other' => "",
'decline' => ""
)
| Diversity2018::$orientation |
array(
'values' => array(),
'other' => "",
'decline' => ""
)
| Diversity2018::$race |
array(
'values' => array(),
'other' => "",
'decline' => ""
)
1.6.1