Fixed methods description

These methods were declared void but actually returns values. Added proper documentation.
This commit is contained in:
Raphaël Doursenaud 2013-11-07 21:02:50 +01:00
parent 9e0f8c5f57
commit fa43476890
2 changed files with 2 additions and 2 deletions

View File

@ -2135,7 +2135,7 @@ abstract class CommonObject
* Add/Update all extra fields values for the current object. * Add/Update all extra fields values for the current object.
* All data to describe values to insert are stored into $this->array_options=array('keyextrafield'=>'valueextrafieldtoadd') * All data to describe values to insert are stored into $this->array_options=array('keyextrafield'=>'valueextrafieldtoadd')
* *
* @return void * @return int -1=error, O=did nothing, 1=OK
*/ */
function insertExtraFields() function insertExtraFields()
{ {

View File

@ -509,7 +509,7 @@ class FormCompany
* @param string $htmlname Name of HTML form * @param string $htmlname Name of HTML form
* @param array $limitto Disable answers that are not id in this array list * @param array $limitto Disable answers that are not id in this array list
* @param int $forceid This is to force another object id than object->id * @param int $forceid This is to force another object id than object->id
* @return void * @return int The selected third party ID
* TODO obsolete ? * TODO obsolete ?
* cette fonction doit utiliser du javascript quoi qu'il en soit ! * cette fonction doit utiliser du javascript quoi qu'il en soit !
* autant utiliser le système combobox sans rechargement de page non ? * autant utiliser le système combobox sans rechargement de page non ?