|
| __construct () |
|
| setVar ($key, $value, $not_gpc=false) |
|
| getVar ($key, $format='s') |
|
| getEditElement ($user, $profile) |
|
| getOutputValue (&$user, $profile) |
|
| getValueForSave ($value) |
|
| getUserVars () |
|
| 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) |
|
| 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) |
|
| 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
Réimplémentée à partir de XoopsObject.
◆ getEditElement()
getEditElement |
( |
|
$user, |
|
|
|
$profile |
|
) |
| |
◆ getOutputValue()
getOutputValue |
( |
& |
$user, |
|
|
|
$profile |
|
) |
| |
Returns a value for output of this field
- Paramètres
-
XoopsUser | $user | XoopsUser object to get the value of |
profileProfile | $profile | object to get the value of |
- Renvoie
- mixed
◆ getUserVars()
Get names of user variables
- Renvoie
- array
◆ getValueForSave()
getValueForSave |
( |
|
$value | ) |
|
Returns a value ready to be saved in the database
- Paramètres
-
mixed | $value | Value to format |
- Renvoie
- mixed
◆ getVar()
getVar |
( |
|
$key, |
|
|
|
$format = 's' |
|
) |
| |
- Paramètres
-
- Renvoie
- mixed
Réimplémentée à partir de XoopsObject.
◆ setVar()
setVar |
( |
|
$key, |
|
|
|
$value, |
|
|
|
$not_gpc = false |
|
) |
| |
Extra treatment dealing with non latin encoding Tricky solution
- Paramètres
-
string | $key | |
mixed | $value | |
bool | $not_gpc | |
Réimplémentée à partir de XoopsObject.
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/modules/profile/class/field.php