Diversity Class Reference
List of all members.
Public Member Functions |
|
| Diversity ($data) |
| | getId () |
|
| getPerson () |
|
| getSubmitted () |
|
| getRaces () |
|
| getPopulation () |
|
| getImmigration () |
|
| getGenders () |
|
| getOrientations () |
|
| getIndigenousApply () |
|
| getDisabilityVisibility () |
|
| getLanguage () |
|
| 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" |
|
| $submitted = false |
|
| $decline = "" |
|
| $reason = "" |
| | $gender |
| | $orientation |
|
| $indigenous = "" |
|
| $disability = "" |
| | $disabilityVisibility |
|
| $minority = "" |
| | $race |
| | $languageMinority |
| | $immigration |
|
| $affiliation = "" |
|
| $age = "" |
| | $indigenousApply |
|
| $trueSelf = "" |
|
| $valued = "" |
|
| $space = "" |
| | $respected |
| | $leastRespected |
|
| $principles = "" |
|
| $principlesDescribe = "" |
|
| $statement = "" |
| | $improve |
|
| $training = "" |
| | $preventsTraining |
| | $trainingTaken |
|
| $implemented = "" |
|
| $stem = "" |
|
| $comments = "" |
Member Function Documentation
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.
Deletes the record in the DB for this BackboneModel
- Returns:
- boolean Returns whether or not the deletion was successful or not
Reimplemented from BackboneModel.
| static Diversity::getAllDiversity |
( |
|
) |
[static] |
Returns all Diversities available to a user
- Returns:
- Array An Array of Diversities
| Diversity::getCacheId |
( |
|
) |
|
Returns the id of this BackboneModel's cache
- Returns:
- string Returns the id of this BackboneModel's cache
Reimplemented from BackboneModel.
| static Diversity::newFromId |
( |
$ |
id |
) |
[static] |
| static Diversity::newFromUserId |
( |
$ |
userId |
) |
[static] |
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
| Diversity::$disabilityVisibility |
Initial value: array(
'values' => array(),
'other' => "",
'decline' => ""
)
Initial value: array(
'value' => "",
'woman' => "",
'man' => "",
'other' => ""
)
Initial value: array(
'value' => array(),
'other' => "",
'decline' => ""
)
Initial value: array(
'values' => array(),
'other' => "",
'decline' => ""
)
| Diversity::$indigenousApply |
Initial value: array(
'values' => array(),
'other' => "",
'decline' => ""
)
| Diversity::$languageMinority |
Initial value: array(
'value' => '',
'yes' => "",
'decline' => ""
)
| Diversity::$leastRespected |
Initial value: array(
'values' => array(),
'other' => "",
'decline' => ""
)
Initial value: array(
'value' => array(),
'other' => "",
'decline' => ""
)
| Diversity::$preventsTraining |
Initial value: array(
'values' => array(),
'other' => "",
'decline' => ""
)
Initial value: array(
'value' => "",
'values' => array(),
'other' => "",
'decline' => "",
'decline2' => ""
)
Initial value: array(
'values' => array(),
'other' => "",
'decline' => ""
)
| Diversity::$trainingTaken |
Initial value: array(
'values' => array(),
'other' => "",
'decline' => ""
)
The documentation for this class was generated from the following file:
- extensions/GrandObjects/Diversity.php