Documentation

User_Setting
in package

User Settings Object

Tags
copyright

CLOUDREXX CMS - CLOUDREXX AG

author

Thomas Daeppen thomas.daeppen@comvation.com

version
2.0.0
subpackage

lib_framework

Table of Contents

Properties

$objMail  : User_Setting_Mail
The user mail object

Methods

__construct()  : mixed
getMail()  : mixed
getSettings()  : array<string|int, mixed>
Returns the current settings array
getUserValidities()  : array<string|int, mixed>
Returns an array containing the available account validity time periods in days in ascending order.
setSettings()  : mixed

Properties

Methods

getSettings()

Returns the current settings array

public static getSettings([bool $reload = false ]) : array<string|int, mixed>

Note that the records are read from the database on the first call and stored locally. Successive calls will yield the same array, regardless of changes made to the table, unless $reload is set to true.

Parameters
$reload : bool = false

Force reloading if true. Defaults to false

Tags
global

ADOConnection $objDatabase

staticvar

array $arrSettings The settings array

static
Return values
array<string|int, mixed>

The settings array

getUserValidities()

Returns an array containing the available account validity time periods in days in ascending order.

public static getUserValidities() : array<string|int, mixed>
Tags
global

ADONewConnection

static
Return values
array<string|int, mixed>

The time periods

setSettings()

public static setSettings(mixed $arrSettings) : mixed
Parameters
$arrSettings : mixed

        
On this page

Search results