class vB_ProfileCustomize

The vB core class.

Everything required at the core level should be accessible through this.

The core class performs initialisation for error handling, exception handling, application instatiation and optionally debug handling.

Traits

Properties

static protected $nullOK
static protected $datastore

Methods

__sleep()

No description

__wakeup()

No description

static 
getThemes()

No description

static 
getTheme($themeid, $format = 'p')

No description

static string
cleanRepeat($repeat_in)

We have some invalid "repeat" settings sneaking in. This function ensures they are valid.

static 
getDefaultTheme()

No description

static 
getSiteDefaultTheme()

No description

static 
setStylevars(integer $stylevars)

This sets the style, which matters if the user hasn't customized their profile or if some variables are not set.

static 
setPermissions($permissions = false)

No description

static 
getUserTheme($userid)

No description

static 
getValidColor(string $colorval)

This makes sure something passed as a image url, is

cleanImageLoc($imageLoc)

No description

static 
getBGValue($image_url)

No description

static 
saveUserTheme($usertheme, $userinfo)

No description

static 
getAlbums($userinfo)

No description

static 
getAlbumContents($albumid, $userinfo)

No description

static 
getAssetPicker($userinfo, $registry)

No description

static 
getConfirmCloseBox()

No description

static 
getProfileDialog($phrasekey)

No description

Details

in vB_Trait_NoSerialize at line 15
__sleep()

in vB_Trait_NoSerialize at line 20
__wakeup()

at line 114
static getThemes()

at line 137
static getTheme($themeid, $format = 'p')

Parameters

$themeid
$format

at line 199
static string cleanRepeat($repeat_in)

We have some invalid "repeat" settings sneaking in. This function ensures they are valid.

@param string

Parameters

$repeat_in

Return Value

string *

at line 206
static getDefaultTheme()

at line 214
static getSiteDefaultTheme()

at line 307
static setStylevars(integer $stylevars)

This sets the style, which matters if the user hasn't customized their profile or if some variables are not set.

Parameters

integer $stylevars

at line 320
static setPermissions($permissions = false)

Parameters

$permissions

at line 345
static getUserTheme($userid)

Parameters

$userid

at line 623
static getValidColor(string $colorval)

This makes sure something passed as a image url, is

Parameters

string $colorval @return mixed false or a string *

at line 680
protected cleanImageLoc($imageLoc)

Parameters

$imageLoc

at line 693
static getBGValue($image_url)

Parameters

$image_url

at line 757
static saveUserTheme($usertheme, $userinfo)

Parameters

$usertheme
$userinfo

at line 1007
static getAlbums($userinfo)

Parameters

$userinfo

at line 1052
static getAlbumContents($albumid, $userinfo)

Parameters

$albumid
$userinfo

at line 1131
static getAssetPicker($userinfo, $registry)

Parameters

$userinfo
$registry

at line 1178
static getConfirmCloseBox()

at line 1193
static getProfileDialog($phrasekey)

Parameters

$phrasekey