|
| __construct () |
|
| setVar ($key, $value, $not_gpc=false) |
|
| getVar ($key, $format='s') |
|
| getEditElement ($user, $profile) |
|
| getOutputValue (&$user, $profile) |
|
| getValueForSave ($value) |
|
| getUserVars () |
|
| __construct () |
|
| XoopsObject () |
|
| setNew () |
|
| unsetNew () |
|
| isNew () |
|
| setDirty () |
|
| unsetDirty () |
|
| isDirty () |
|
| initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options='', $enumerations='') |
|
| assignVar ($key, $value) |
|
| assignVars ($var_arr) |
|
| setVar ($key, $value, $not_gpc=false) |
|
| setVars ($var_arr, $not_gpc=false) |
|
| destroyVars ($var) |
|
| destoryVars ($var) |
|
| setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false) |
|
& | getVars () |
|
| getValues ($keys=null, $format='s', $maxDepth=1) |
|
| getVar ($key, $format=null) |
|
| cleanVars () |
|
| registerFilter ($filtername) |
|
| _loadFilters () |
|
| loadFilters ($method) |
|
| xoopsClone () |
|
| __clone () |
|
| setErrors ($err_str) |
|
| getErrors () |
|
| getHtmlErrors () |
|
| toArray () |
|
◆ __construct()
constructor
normally, this is called from child classes only
@access public
Reimplemented from XoopsObject.
◆ getEditElement()
getEditElement |
( |
|
$user, |
|
|
|
$profile |
|
) |
| |
◆ getOutputValue()
getOutputValue |
( |
& |
$user, |
|
|
|
$profile |
|
) |
| |
Returns a value for output of this field
- Parameters
-
XoopsUser | $user | XoopsUser object to get the value of |
profileProfile | $profile | object to get the value of |
- Returns
- mixed
◆ getUserVars()
Get names of user variables
- Returns
- array
◆ getValueForSave()
getValueForSave |
( |
|
$value | ) |
|
Returns a value ready to be saved in the database
- Parameters
-
mixed | $value | Value to format |
- Returns
- mixed
◆ getVar()
getVar |
( |
|
$key, |
|
|
|
$format = 's' |
|
) |
| |
- Parameters
-
- Returns
- mixed
Reimplemented from XoopsObject.
◆ setVar()
setVar |
( |
|
$key, |
|
|
|
$value, |
|
|
|
$not_gpc = false |
|
) |
| |
Extra treatment dealing with non latin encoding Tricky solution
- Parameters
-
string | $key | |
mixed | $value | |
bool | $not_gpc | |
Reimplemented from XoopsObject.
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/modules/profile/class/field.php