mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 18:48:22 +01:00
Doc
This commit is contained in:
@@ -8089,7 +8089,7 @@ class Form
|
|||||||
* @param int $forcecombo Force to load all values and output a standard combobox (with no beautification)
|
* @param int $forcecombo Force to load all values and output a standard combobox (with no beautification)
|
||||||
* @param int<0,1> $disabled 1=Html component is disabled
|
* @param int<0,1> $disabled 1=Html component is disabled
|
||||||
* @param string $selected_input_value Value of preselected input text (for use with ajax)
|
* @param string $selected_input_value Value of preselected input text (for use with ajax)
|
||||||
* @param string $objectfield Object:Field that contains the definition (in table $fields or $extrafields). Example: 'Object:xxx' or 'Module_Object:xxx' or 'Object:options_xxx' or 'Module_Object:options_xxx'
|
* @param string $objectfield Object:Field that contains the definition (in table $fields or $extrafields). Example: 'Object:xxx' or 'Object@module:xxx' (old syntax 'Module_Object:xxx') or 'Object:options_xxx' or 'Object@module:options_xxx' (old syntax 'Module_Object:options_xxx')
|
||||||
* @return string Return HTML string
|
* @return string Return HTML string
|
||||||
* @see selectForFormsList(), select_thirdparty_list()
|
* @see selectForFormsList(), select_thirdparty_list()
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -12598,11 +12598,11 @@ function getElementProperties($elementType)
|
|||||||
* Fetch an object from its id and element_type
|
* Fetch an object from its id and element_type
|
||||||
* Inclusion of classes is automatic
|
* Inclusion of classes is automatic
|
||||||
*
|
*
|
||||||
* @param int $element_id Element id (Use this or element_id but not both)
|
* @param int $element_id Element id (Use this or element_ref but not both. If id and ref are empty, object with no fetch is returned)
|
||||||
* @param string $element_type Element type ('module' or 'myobject@mymodule' or 'mymodule_myobject')
|
* @param string $element_type Element type ('module' or 'myobject@mymodule' or 'mymodule_myobject')
|
||||||
* @param string $element_ref Element ref (Use this or element_id but not both)
|
* @param string $element_ref Element ref (Use this or element_id but not both. If id and ref are empty, object with no fetch is returned)
|
||||||
* @param int<0,2> $useCache if you want to store object in cache or get it from cache 0 => no use cache , 1 use cache, 2 force reload cache
|
* @param int<0,2> $useCache If you want to store object in cache or get it from cache 0 => no use cache , 1 use cache, 2 force reload cache
|
||||||
* @param int $maxCacheByType number of object in cache for this element type
|
* @param int $maxCacheByType Number of object in cache for this element type
|
||||||
* @return int<-1,0>|object object || 0 || <0 if error
|
* @return int<-1,0>|object object || 0 || <0 if error
|
||||||
* @see getElementProperties()
|
* @see getElementProperties()
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user