This commit is contained in:
Laurent Destailleur
2024-04-27 16:39:26 +02:00
parent 26da44e254
commit c656df9d35
2 changed files with 7 additions and 7 deletions

View File

@@ -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()
*/ */

View File

@@ -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()
*/ */