| extends | XoopsObject | 
|---|
| Methods | ||||||
|---|---|---|---|---|---|---|
| 
					
	public
					
					
				 | __construct()
		constructor
	 | # | ||||
| 
					
	public
					
					
				 | setVar(string $key, mixed $value, bool $not_gpc = false)
		Extra treatment dealing with non latin encoding
Tricky solution
	 Extra treatment dealing with non latin encoding Tricky solution Parameters
 Overrides | # | ||||
| 
					
	public
					
					
				 | getVar(string $key, string $format = 's'): mixed
		returns a specific variable for the object in a proper format
	 returns a specific variable for the object in a proper format YOU SHOULD NOT USE ANY OF THE UNICODE TYPES, THEY WILL BE REMOVED Parameters
 Returnsformatted value of the variable Overrides | # | ||||
| 
					
	public
					
					
				 | getEditElement(XoopsUser $user, ProfileProfile $profile): XoopsFormElement
		Returns a {@link XoopsFormElement} for editing the value of this field
	 Returns a {@link XoopsFormElement} for editing the value of this field Parameters
 | # | ||||
| 
					
	public
					
					
				 | getOutputValue(XoopsUser &$user, ProfileProfile $profile): mixed
		Returns a value for output of this field
	 Returns a value for output of this field Parameters
 | # | ||||
| 
					
	public
					
					
				 | getValueForSave(mixed $value): mixed
		Returns a value ready to be saved in the database
	 Returns a value ready to be saved in the database Parameters
 | # | ||||
| 
					
	public
					
					
				 | getUserVars(): array
		Get names of user variables
	 Get names of user variables | # | ||||
| Properties | |||
|---|---|---|---|
| 
	public
					
					
				 |  | $field_id | # | 
| 
	public
					
					
				 |  | $cat_id | # | 
| 
	public
					
					
				 |  | $field_type | # | 
| 
	public
					
					
				 |  | $field_valuetype | # | 
| 
	public
					
					
				 |  | $field_name | # | 
| 
	public
					
					
				 |  | $field_title | # | 
| 
	public
					
					
				 |  | $field_description | # | 
| 
	public
					
					
				 |  | $field_required | # | 
| 
	public
					
					
				 |  | $field_maxlength | # | 
| 
	public
					
					
				 |  | $field_weight | # | 
| 
	public
					
					
				 |  | $field_default | # | 
| 
	public
					
					
				 |  | $field_notnull | # | 
| 
	public
					
					
				 |  | $field_edit | # | 
| 
	public
					
					
				 |  | $field_show | # | 
| 
	public
					
					
				 |  | $field_config | # | 
| 
	public
					
					
				 |  | $field_options | # | 
| 
	public
					
					
				 |  | $step_id | # | 
| Properties inherited from XoopsObject | 
|---|
| $vars, $cleanVars, $_isNew, $_isDirty, $_errors, $_filters |