|
@@ -1345,7 +1345,7 @@ class Form
|
|
|
* @param int $maxlength Maximum length of string into list (0=no limit)
|
|
|
* @param int $showstatus 0=show user status only if status is disabled, 1=always show user status into label, -1=never show user status
|
|
|
* @param string $morefilter Add more filters into sql request
|
|
|
- * @param string $show_every 0=default list, 1=add also a value "Everybody" at beginning of list
|
|
|
+ * @param integer $show_every 0=default list, 1=add also a value "Everybody" at beginning of list
|
|
|
* @param string $enableonlytext If option $enableonly is set, we use this text to explain into label why record is disabled. Not used if enableonly is empty.
|
|
|
* @param string $morecss More css
|
|
|
* @param int $noactive Show only active users (this will also happened whatever is this option if USER_HIDE_INACTIVE_IN_COMBOBOX is on).
|
|
@@ -2288,7 +2288,7 @@ class Form
|
|
|
*
|
|
|
* @param int $productid Id of product
|
|
|
* @param string $htmlname Name of HTML field
|
|
|
- * @return void
|
|
|
+ * @return string|null
|
|
|
*/
|
|
|
function select_product_fourn_price($productid,$htmlname='productfournpriceid')
|
|
|
{
|
|
@@ -2400,7 +2400,7 @@ class Form
|
|
|
* @param int $socid Id of company
|
|
|
* @param string $htmlname Name of HTML field
|
|
|
* @param int $showempty Add an empty field
|
|
|
- * @return void
|
|
|
+ * @return integer|null
|
|
|
*/
|
|
|
function select_address($selected, $socid, $htmlname='address_id',$showempty=0)
|
|
|
{
|
|
@@ -3651,7 +3651,7 @@ class Form
|
|
|
* @param int $displayhour Display hour selector
|
|
|
* @param int $displaymin Display minutes selector
|
|
|
* @param int $nooutput 1=No print output, return string
|
|
|
- * @return void
|
|
|
+ * @return string
|
|
|
* @see select_date
|
|
|
*/
|
|
|
function form_date($page, $selected, $htmlname, $displayhour=0, $displaymin=0, $nooutput=0)
|
|
@@ -4302,7 +4302,7 @@ class Form
|
|
|
* @param int $fullday When a checkbox with this html name is on, hour and day are set with 00:00 or 23:59
|
|
|
* @param string $addplusone Add a link "+1 hour". Value must be name of another select_date field.
|
|
|
* @param datetime $adddateof Add a link "Date of invoice" using the following date.
|
|
|
- * @return mixed Nothing or string if nooutput is 1
|
|
|
+ * @return string|null Nothing or string if nooutput is 1
|
|
|
* @see form_date
|
|
|
*/
|
|
|
function select_date($set_time='', $prefix='re', $h=0, $m=0, $empty=0, $form_name="", $d=1, $addnowlink=0, $nooutput=0, $disabled=0, $fullday='', $addplusone='', $adddateof='')
|
|
@@ -4585,9 +4585,9 @@ class Form
|
|
|
* @param int $iSecond Default preselected duration (number of seconds or '')
|
|
|
* @param int $disabled Disable the combo box
|
|
|
* @param string $typehour If 'select' then input hour and input min is a combo, if 'text' input hour is in text and input min is a combo
|
|
|
- * @param string $minunderhours If 1, show minutes selection under the hours
|
|
|
+ * @param integer $minunderhours If 1, show minutes selection under the hours
|
|
|
* @param int $nooutput Do not output html string but return it
|
|
|
- * @return void
|
|
|
+ * @return string|null
|
|
|
*/
|
|
|
function select_duration($prefix, $iSecond='', $disabled=0, $typehour='select', $minunderhours=0, $nooutput=0)
|
|
|
{
|
|
@@ -4769,7 +4769,7 @@ class Form
|
|
|
* @param string $morecss Add more class to css styles
|
|
|
* @param int $callurlonselect If set to 1, some code is added so an url return by the ajax is called when value is selected.
|
|
|
* @param string $placeholder String to use as placeholder
|
|
|
- * @param string $acceptdelayedhtml 1 if caller request to have html delayed content not returned but saved into global $delayedhtmlcontent (so caller can show it at end of page to avoid flash FOUC effect)
|
|
|
+ * @param integer $acceptdelayedhtml 1 if caller request to have html delayed content not returned but saved into global $delayedhtmlcontent (so caller can show it at end of page to avoid flash FOUC effect)
|
|
|
* @return string HTML select string
|
|
|
*/
|
|
|
static function selectArrayAjax($htmlname, $url, $id='', $moreparam='', $moreparamtourl='', $disabled=0, $minimumInputLength=1, $morecss='', $callurlonselect=0, $placeholder='', $acceptdelayedhtml=0)
|