◆ __construct()
__construct |
( |
|
$userid = null | ) |
|
Builds a visibility setting for a specific userid
- Parameters
-
type | $userid | the specific userid |
◆ getHTMLArgs()
Returns all Arguments for the SettingsPage
- Returns
- array Arguments for the SettingsPage
◆ getProfileSettings()
Returns all the categorys and it's items
- Returns
- array categorys and it's items
◆ update()
update |
( |
|
$key, |
|
|
|
$state, |
|
|
|
$db = null , |
|
|
|
$userid = null |
|
) |
| |
Updates a PrivacySetting in the DB
- Parameters
-
type | $key | The Settings Identifier |
type | $state | The wanted state |
type | $db | Optional an open database connection |
type | $userid | Optional the users id |
◆ updateAllFromRequest()
updateAllFromRequest |
( |
|
$data | ) |
|
Takes the new_priv_settings request and stores it into the database
- Parameters
-
array | $data | The given requestdata produced by the privacySettings view |
The documentation for this class was generated from the following file: