XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Profile_Delegate Class Reference

Static Public Member Functions

static saveProfile (&$ret, XCube_ActionForm $actionForm)
 
static getProfile (&$profile, $uid)
 
static getDefinition (&$defArr, $action)
 
static setupActionForm (XCube_ActionForm $actionForm)
 
static loadActionForm (XCube_ActionForm $actionForm)
 

Detailed Description

profile delegate

Definition at line 18 of file DelegateFunctions.class.php.

Member Function Documentation

◆ getDefinition()

static getDefinition ( & $defArr,
$action )
static

getDefinition

Parameters
mixed&$defArr
string$action
Returns
void
Parameters
$defArr* mixed **
$action* string **

Definition at line 69 of file DelegateFunctions.class.php.

◆ getProfile()

static getProfile ( & $profile,
$uid )
static

getProfile

Parameters
XoopsSimpleObject&$profile
int$uiduser id
Returns
void
Parameters
$profile* mixed **
$uid* int **

Definition at line 52 of file DelegateFunctions.class.php.

◆ loadActionForm()

static loadActionForm ( XCube_ActionForm $actionForm)
static

load Profile ActionForm

Parameters
XCube_ActionForm&$actionFormUser_EditUserForm
Returns
void

Definition at line 126 of file DelegateFunctions.class.php.

◆ saveProfile()

static saveProfile ( & $ret,
XCube_ActionForm $actionForm )
static

save profile data. Its key is field name and the value is value of profile.

Parameters
bool&$ret
XCube_ActionForm$actionFormUser_EditUserForm
Returns
void
Parameters
$ret* bool **

Definition at line 29 of file DelegateFunctions.class.php.

◆ setupActionForm()

static setupActionForm ( XCube_ActionForm $actionForm)
static

setup Profile ActionForm. Add FormProperties and FieldProperties on User_EditUserForm

Parameters
XCube_ActionForm&$actionFormUser_EditUserForm
Returns
void

Definition at line 90 of file DelegateFunctions.class.php.


The documentation for this class was generated from the following file: