diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index ce5cd1d1e..2b5d9e3d9 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -4229,6 +4229,25 @@ HTML; /** * Updates the object from a given page argument + * + * The values are read from parameters (GET or POST, using {@see utils::ReadParam()}). + * + * To pass the arg, either add in HTML : + * + * ```html + * + * + * ``` + * + * Or directly in the URL : + * + * ```php + * $aObjectArgs = ['attCode1' => ..., 'attCode2' => ...]; + * $sQueryString = http_build_query(['sArgName' => $aObjectArgs]); + * ``` + * + * @uses utils::ReadParam() + * @uses self::UpdateObjectFromArray */ public function UpdateObjectFromArg($sArgName, $aAttList = null, $aAttFlags = array()) {