Fix PHPCS

This commit is contained in:
Laurent Destailleur 2016-04-22 18:12:31 +02:00
parent 25b7f0ab62
commit a99b7ddee6

View File

@ -4230,11 +4230,13 @@ abstract class CommonObject
} }
else return 0; else return 0;
} }
/** /**
* Update an exta field value for the current object. * Update an exta field value for the current object.
* Data to describe values to insert/update are stored into $this->array_options=array('options_codeforfield1'=>'valueforfield1', 'options_codeforfield2'=>'valueforfield2', ...) * Data to describe values to insert/update are stored into $this->array_options=array('options_codeforfield1'=>'valueforfield1', 'options_codeforfield2'=>'valueforfield2', ...)
* This function delte record with all extrafields and insert them again from the array $this->array_options. * This function delte record with all extrafields and insert them again from the array $this->array_options.
* $key key of the extrafield *
* @param string $key Key of the extrafield
* @return int -1=error, O=did nothing, 1=OK * @return int -1=error, O=did nothing, 1=OK
*/ */
function updateExtraField($key) function updateExtraField($key)