|
@@ -96,7 +96,7 @@ class Form
|
|
|
* @param string $preselected Value to show/edit (not used in this function)
|
|
|
* @param object $object Object
|
|
|
* @param boolean $perm Permission to allow button to edit parameter. Set it to 0 to have a not edited field.
|
|
|
- * @param string $typeofdata Type of data ('string' by default, 'email', 'amount:99', 'numeric:99', 'text' or 'textarea:rows:cols', 'datepicker' ('day' do not work, don't know why), 'checkbox:ckeditor:dolibarr_zzz:width:height:savemethod:1:rows:cols', 'select;xxx[:class]'...)
|
|
|
+ * @param string $typeofdata Type of data ('string' by default, 'email', 'amount:99', 'numeric:99', 'text' or 'textarea:rows:cols', 'datepicker' ('day' do not work, don't know why), 'dayhour' or 'datehourpicker' 'checkbox:ckeditor:dolibarr_zzz:width:height:savemethod:1:rows:cols', 'select;xxx[:class]'...)
|
|
|
* @param string $moreparam More param to add on a href URL.
|
|
|
* @param int $fieldrequired 1 if we want to show field as mandatory using the "fieldrequired" CSS.
|
|
|
* @param int $notabletag 1=Do not output table tags but output a ':', 2=Do not output table tags and no ':', 3=Do not output table tags but output a ' '
|
|
@@ -192,7 +192,7 @@ class Form
|
|
|
* @param string $value Value to show/edit
|
|
|
* @param object $object Object
|
|
|
* @param boolean $perm Permission to allow button to edit parameter
|
|
|
- * @param string $typeofdata Type of data ('string' by default, 'email', 'amount:99', 'numeric:99', 'text' or 'textarea:rows:cols%', 'datepicker' ('day' do not work, don't know why), 'dayhour' or 'datepickerhour', 'ckeditor:dolibarr_zzz:width:height:savemethod:toolbarstartexpanded:rows:cols', 'select;xkey:xval,ykey:yval,...')
|
|
|
+ * @param string $typeofdata Type of data ('string' by default, 'email', 'amount:99', 'numeric:99', 'text' or 'textarea:rows:cols%', 'datepicker' ('day' do not work, don't know why), 'dayhour' or 'datehourpicker', 'ckeditor:dolibarr_zzz:width:height:savemethod:toolbarstartexpanded:rows:cols', 'select;xkey:xval,ykey:yval,...')
|
|
|
* @param string $editvalue When in edit mode, use this value as $value instead of value (for example, you can provide here a formated price instead of numeric value). Use '' to use same than $value
|
|
|
* @param object $extObject External object
|
|
|
* @param mixed $custommsg String or Array of custom messages : eg array('success' => 'MyMessage', 'error' => 'MyMessage')
|
|
@@ -200,7 +200,7 @@ class Form
|
|
|
* @param int $notabletag Do no output table tags
|
|
|
* @param string $formatfunc Call a specific function to output field in view mode (For example: 'dol_print_email')
|
|
|
* @param string $paramid Key of parameter for id ('id', 'socid')
|
|
|
- * @param string $gm 'auto' or 'tzuser' or 'tzserver' (when $typeofdata is a date)
|
|
|
+ * @param string $gm 'auto' or 'tzuser' or 'tzuserrel' or 'tzserver' (when $typeofdata is a date)
|
|
|
* @return string HTML edit field
|
|
|
*/
|
|
|
public function editfieldval($text, $htmlname, $value, $object, $perm, $typeofdata = 'string', $editvalue = '', $extObject = null, $custommsg = null, $moreparam = '', $notabletag = 0, $formatfunc = '', $paramid = 'id', $gm = 'auto')
|