Merge remote-tracking branch 'origin/3.6' into 3.6_fixwebservice

This commit is contained in:
Florian HENRY 2014-09-29 11:04:43 +02:00
commit 3f23c8956c
124 changed files with 284 additions and 317 deletions

View File

@ -1,3 +1,10 @@
dolibarr (3.6.1-3) unstable; urgency=low
[ Laurent Destailleur (eldy) ]
* New upstream release.
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Tue, 23 Sep 2014 12:00:00 +0100
dolibarr (3.6.0-3) unstable; urgency=low dolibarr (3.6.0-3) unstable; urgency=low
[ Laurent Destailleur (eldy) ] [ Laurent Destailleur (eldy) ]

View File

@ -17,9 +17,9 @@
; ----- Change this ----- ; ----- Change this -----
AppName=DoliWamp AppName=DoliWamp
; DoliWamp-x.x.x or DoliWamp-x.x.x-alpha or DoliWamp-x.x.x-beta or DoliWamp-x.x.x-rc or DoliWamp-x.x.x ; DoliWamp-x.x.x or DoliWamp-x.x.x-alpha or DoliWamp-x.x.x-beta or DoliWamp-x.x.x-rc or DoliWamp-x.x.x
AppVerName=DoliWamp-3.6.0 AppVerName=DoliWamp-3.6.1
; DoliWamp-x.x x or DoliWamp-x.x.x-alpha or DoliWamp-x.x.x-beta or DoliWamp-x.x.x-rc or DoliWamp-x.x.x ; DoliWamp-x.x x or DoliWamp-x.x.x-alpha or DoliWamp-x.x.x-beta or DoliWamp-x.x.x-rc or DoliWamp-x.x.x
OutputBaseFilename=DoliWamp-3.6.0 OutputBaseFilename=DoliWamp-3.6.1
; ----- End of change ; ----- End of change
;OutputManifestFile=build\doliwampbuild.log ;OutputManifestFile=build\doliwampbuild.log
; Define full path from which all relative path are defined ; Define full path from which all relative path are defined

View File

@ -460,8 +460,8 @@ if ($nboftargetok) {
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/license.txt`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/license.txt`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/PHPExcel/Shared/PDF`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/PHPExcel/Shared/PDF`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/PHPExcel/Shared/PCLZip`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/PHPExcel/Shared/PCLZip`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/dejavu-fonts-ttf-2.33`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/dejavu-fonts-ttf-*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/freefont-20100919`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/freefont-*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/utils`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/utils`;
$ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/LICENSE.TXT`; $ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/LICENSE.TXT`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/savant`; $ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/savant`;
@ -610,9 +610,6 @@ if ($nboftargetok) {
print "Version is $MAJOR.$MINOR.$REL1-$RPMSUBVERSION\n"; print "Version is $MAJOR.$MINOR.$REL1-$RPMSUBVERSION\n";
#print "Create directory $RPMDIR\n";
#$ret=`mkdir -p "$RPMDIR"`;
print "Remove target ".$FILENAMERPM."...\n"; print "Remove target ".$FILENAMERPM."...\n";
unlink("$NEWDESTI/".$FILENAMERPM); unlink("$NEWDESTI/".$FILENAMERPM);
print "Remove target ".$FILENAMETGZ2."-".$RPMSUBVERSION.".src.rpm...\n"; print "Remove target ".$FILENAMETGZ2."-".$RPMSUBVERSION.".src.rpm...\n";
@ -620,13 +617,13 @@ if ($nboftargetok) {
print "Create directory $BUILDROOT/$FILENAMETGZ2\n"; print "Create directory $BUILDROOT/$FILENAMETGZ2\n";
$ret=`rm -fr $BUILDROOT/$FILENAMETGZ2`; $ret=`rm -fr $BUILDROOT/$FILENAMETGZ2`;
print "Copy $BUILDROOT/$PROJECT to $BUILDROOT/$FILENAMETGZ2\n"; print "Copy $BUILDROOT/$PROJECT to $BUILDROOT/$FILENAMETGZ2\n";
$cmd="cp -pr '$BUILDROOT/$PROJECT' '$BUILDROOT/$FILENAMETGZ2'"; $cmd="cp -pr '$BUILDROOT/$PROJECT' '$BUILDROOT/$FILENAMETGZ2'";
$ret=`$cmd`; $ret=`$cmd`;
# Set owners # Removed files we don't need
#print "Set owners on files/dir\n"; $ret=`rm -fr $BUILDROOT/$FILENAMETGZ2/htdocs/includes/ckeditor/_source`;
#$ret=`chown -R root.root $BUILDROOT/$FILENAMETGZ2`;
print "Set permissions on files/dir\n"; print "Set permissions on files/dir\n";
$ret=`chmod -R 755 $BUILDROOT/$FILENAMETGZ2`; $ret=`chmod -R 755 $BUILDROOT/$FILENAMETGZ2`;
@ -747,10 +744,18 @@ if ($nboftargetok) {
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/build/rpm`; $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/build/rpm`;
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/build/zip`; $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/build/zip`;
# Removed duplicate license files # Removed duplicate license files
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/_source/LICENSE.md`;
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/_source/plugins/scayt/LICENSE.md`;
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/_source/plugins/wsc/LICENSE.md`;
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/LICENSE.md`; $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/LICENSE.md`;
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/plugins/scayt/LICENSE.md`; $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/plugins/scayt/LICENSE.md`;
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/plugins/wsc/LICENSE.md`; $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/plugins/wsc/LICENSE.md`;
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/jquery/plugins/flot/LICENSE.txt`; $ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/jquery/plugins/flot/LICENSE.txt`;
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/tcpdf/fonts/dejavu-fonts-ttf-2.34/LICENSE`;
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/tcpdf/fonts/freefont-20120503/COPYING`;
# Removed files we don't need
$ret=`rm -fr $BUILDROOT/$PROJECT.tmp/htdocs/includes/ckeditor/_source`;
# Rename upstream changelog to match debian rules # Rename upstream changelog to match debian rules
$ret=`mv $BUILDROOT/$PROJECT.tmp/ChangeLog $BUILDROOT/$PROJECT.tmp/changelog`; $ret=`mv $BUILDROOT/$PROJECT.tmp/ChangeLog $BUILDROOT/$PROJECT.tmp/changelog`;

View File

@ -36,14 +36,13 @@ complete release of Dolibarr, step by step.
- Update version number with x.y.z in build/exe/doliwamp/doliwamp.iss - Update version number with x.y.z in build/exe/doliwamp/doliwamp.iss
- Update version number with x.y.z in build/rpm/*.spec - Update version number with x.y.z in build/rpm/*.spec
- Commit all changes. - Commit all changes.
- Add a Tag (x.y.z)
- Build Dolibarr and DoliWamp packages with makepack-dolibarr.pl - Build Dolibarr and DoliWamp packages with makepack-dolibarr.pl
- Check content of built packages. - Check content of built packages.
- Move build files into www.dolibarr.org web site - Move build files into www.dolibarr.org web site
(/home/dolibarr/wwwroot/files/stable). (/home/dolibarr/wwwroot/files/stable).
- Run makepack-dolibarr.pl again with option to publish files on - Run makepack-dolibarr.pl again with option to publish files on
sourceforge. sourceforge. This will also add official tag.
- Edit symbolic links in directory "/home/dolibarr/wwwroot/files/stable/xxx" - Edit symbolic links in directory "/home/dolibarr/wwwroot/files/stable/xxx"
on server to point to new files (used by some web sites). on server to point to new files (used by some web sites).

View File

@ -333,6 +333,9 @@ fi
# version x.y.z-0.1.a for alpha, x.y.z-0.2.b for beta, x.y.z-0.3 for release # version x.y.z-0.1.a for alpha, x.y.z-0.2.b for beta, x.y.z-0.3 for release
%changelog %changelog
* Wed Sep 24 2014 Laurent Destailleur 3.6.1-0.3
- Upstream release
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3 * Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
- Upstream release - Upstream release

View File

@ -569,6 +569,9 @@ fi
# version x.y.z-0.1.a for alpha, x.y.z-0.2.b for beta, x.y.z-0.3 for release # version x.y.z-0.1.a for alpha, x.y.z-0.2.b for beta, x.y.z-0.3 for release
%changelog %changelog
* Wed Sep 24 2014 Laurent Destailleur 3.6.1-0.3
- Upstream release
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3 * Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
- Upstream release - Upstream release

View File

@ -338,6 +338,9 @@ fi
# version x.y.z-0.1.a for alpha, x.y.z-0.2.b for beta, x.y.z-0.3 for release # version x.y.z-0.1.a for alpha, x.y.z-0.2.b for beta, x.y.z-0.3 for release
%changelog %changelog
* Wed Sep 24 2014 Laurent Destailleur 3.6.1-0.3
- Upstream release
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3 * Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
- Upstream release - Upstream release

View File

@ -349,6 +349,9 @@ fi
# version x.y.z-0.1.a for alpha, x.y.z-0.2.b for beta, x.y.z-0.3 for release # version x.y.z-0.1.a for alpha, x.y.z-0.2.b for beta, x.y.z-0.3 for release
%changelog %changelog
* Wed Sep 24 2014 Laurent Destailleur 3.6.1-0.3
- Upstream release
* Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3 * Wed Jul 15 2014 Laurent Destailleur 3.6.0-0.3
- Upstream release - Upstream release

View File

@ -94,7 +94,7 @@ abstract class ActionsAdherentCardCommon
/** /**
* Load data control * Load data control
* *
* @param string &$action Type of action * @param string $action Type of action
* @param int $id Id of object * @param int $id Id of object
* @return void * @return void
*/ */
@ -228,7 +228,7 @@ abstract class ActionsAdherentCardCommon
/** /**
* Set content of ->tpl array, to use into template * Set content of ->tpl array, to use into template
* *
* @param string &$action Type of action * @param string $action Type of action
* @param int $id Id * @param int $id Id
* @return string HTML output * @return string HTML output
*/ */

View File

@ -76,7 +76,7 @@ class ActionsAdherentCardDefault extends ActionsAdherentCardCommon
/** /**
* Assign custom values for canvas * Assign custom values for canvas
* *
* @param string &$action Type of action * @param string $action Type of action
* @param int $id Id * @param int $id Id
* @return void * @return void
*/ */

View File

@ -534,4 +534,3 @@ print '<br>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -143,4 +143,3 @@ print '</table>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -329,7 +329,7 @@ if ($virtualdiffersfromphysical)
print '</table>'; print '</table>';
} }
$db->close();
llxFooter(); llxFooter();
?>
$db->close();

View File

@ -124,4 +124,5 @@ else
} }
llxFooter(); llxFooter();
?>
$db->close();

View File

@ -130,4 +130,3 @@ else
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -379,4 +379,3 @@ print '</table>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -118,5 +118,3 @@ print info_admin($langs->trans("SystemInfoDesc")).'<br>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -350,4 +350,3 @@ print "<br><br>";
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -166,4 +166,3 @@ if (preg_match('/^confirm/i',$choice))
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -174,4 +174,3 @@ if (! empty($result['return']))
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -69,4 +69,3 @@ print $langs->trans("SeeAlso").': <a href="'.$urlwikitranslatordoc.'" target="_b
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -146,4 +146,3 @@ print '</table>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -75,4 +75,3 @@ include_once 'affPied.php';
print '</div></div></div>'."\n"; print '</div></div></div>'."\n";
print '</body></html>'."\n"; print '</body></html>'."\n";
?>

View File

@ -191,5 +191,3 @@ $obj_facturation->paiementLe('RESET');
// Affichage des templates // Affichage des templates
require ('tpl/facturation1.tpl.php'); require ('tpl/facturation1.tpl.php');
?>

View File

@ -78,4 +78,3 @@ if (!empty($_SESSION["CASHDESK_ID_WAREHOUSE"]) && ! empty($conf->stock->enabled)
} }
print '</li></ul>'; print '</li></ul>';
print '</div>'; print '</div>';
?>

View File

@ -520,4 +520,3 @@ if($object->type == 4)
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -284,7 +284,7 @@ class ActionComm extends CommonObject
$sql.= " a.fk_user_action, a.fk_user_done,"; $sql.= " a.fk_user_action, a.fk_user_done,";
$sql.= " a.fk_contact, a.percent as percentage,"; $sql.= " a.fk_contact, a.percent as percentage,";
$sql.= " a.fk_element, a.elementtype,"; $sql.= " a.fk_element, a.elementtype,";
$sql.= " a.priority, a.fulldayevent, a.location, a.transparency,"; $sql.= " a.priority, a.fulldayevent, a.location, a.punctual, a.transparency,";
$sql.= " c.id as type_id, c.code as type_code, c.libelle,"; $sql.= " c.id as type_id, c.code as type_code, c.libelle,";
$sql.= " s.nom as socname,"; $sql.= " s.nom as socname,";
$sql.= " u.firstname, u.lastname as lastname"; $sql.= " u.firstname, u.lastname as lastname";
@ -878,7 +878,7 @@ class ActionComm extends CommonObject
$sql.= " a.fk_user_action, a.fk_user_done,"; $sql.= " a.fk_user_action, a.fk_user_done,";
$sql.= " a.fk_contact, a.percent as percentage,"; $sql.= " a.fk_contact, a.percent as percentage,";
$sql.= " a.fk_element, a.elementtype,"; $sql.= " a.fk_element, a.elementtype,";
$sql.= " a.priority, a.fulldayevent, a.location,"; $sql.= " a.priority, a.fulldayevent, a.location, a.punctual, a.transparency,";
$sql.= " u.firstname, u.lastname,"; $sql.= " u.firstname, u.lastname,";
$sql.= " s.nom as socname,"; $sql.= " s.nom as socname,";
$sql.= " c.id as type_id, c.code as type_code, c.libelle"; $sql.= " c.id as type_id, c.code as type_code, c.libelle";
@ -1071,4 +1071,3 @@ class ActionComm extends CommonObject
} }
?>

View File

@ -966,7 +966,7 @@ llxFooter();
* @param int $year Year * @param int $year Year
* @param int $monthshown Current month shown in calendar view * @param int $monthshown Current month shown in calendar view
* @param string $style Style to use for this day * @param string $style Style to use for this day
* @param array &$eventarray Array of events * @param array $eventarray Array of events
* @param int $maxprint Nb of actions to show each day on month view (0 means no limit) * @param int $maxprint Nb of actions to show each day on month view (0 means no limit)
* @param int $maxnbofchar Nb of characters to show for event line * @param int $maxnbofchar Nb of characters to show for event line
* @param string $newparam Parameters on current URL * @param string $newparam Parameters on current URL

View File

@ -933,4 +933,3 @@ dol_htmloutput_mesg('',$mesgs);
// End of page // End of page
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -185,7 +185,7 @@ else
dol_print_error($db); dol_print_error($db);
} }
llxFooter();
$db->close(); $db->close();
llxFooter();
?>

View File

@ -420,4 +420,3 @@ elseif (file_exists($fileimagebis))
$db->close(); $db->close();
llxFooter(); llxFooter();
?>

View File

@ -164,7 +164,7 @@ class BonPrelevement extends CommonObject
/** /**
* Add line to withdrawal * Add line to withdrawal
* *
* @param int &$line_id id line to add * @param int $line_id id line to add
* @param int $client_id id invoice customer * @param int $client_id id invoice customer
* @param string $client_nom name of cliente * @param string $client_nom name of cliente
* @param int $amount amount of invoice * @param int $amount amount of invoice

View File

@ -94,7 +94,7 @@ abstract class ActionsContactCardCommon
/** /**
* Load data control * Load data control
* *
* @param string &$action Type of action * @param string $action Type of action
* @param int $id Id of object * @param int $id Id of object
* @return void * @return void
*/ */
@ -228,7 +228,7 @@ abstract class ActionsContactCardCommon
/** /**
* Set content of ->tpl array, to use into template * Set content of ->tpl array, to use into template
* *
* @param string &$action Type of action * @param string $action Type of action
* @param int $id Id * @param int $id Id
* @return string HTML output * @return string HTML output
*/ */

View File

@ -75,7 +75,7 @@ class ActionsContactCardDefault extends ActionsContactCardCommon
/** /**
* Assign custom values for canvas * Assign custom values for canvas
* *
* @param string &$action Type of action * @param string $action Type of action
* @param int $id Id * @param int $id Id
* @return void * @return void
*/ */

View File

@ -229,5 +229,3 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
} }
} }
?>

View File

@ -43,5 +43,3 @@ else if ($action == 'setnote_private' && ! empty($permissionnote) && ! GETPOST('
$result=$object->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES),'_private'); $result=$object->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES),'_private');
if ($result < 0) setEventMessage($object->error,'errors'); if ($result < 0) setEventMessage($object->error,'errors');
} }
?>

View File

@ -125,7 +125,7 @@ class Canvas
/** /**
* Shared method for canvas to assign values for templates * Shared method for canvas to assign values for templates
* *
* @param string &$action Action string * @param string $action Action string
* @param int $id Object id (if ref not provided) * @param int $id Object id (if ref not provided)
* @param string $ref Object ref (if id not provided) * @param string $ref Object ref (if id not provided)
* @return void * @return void
@ -181,7 +181,7 @@ class Canvas
/** /**
* Shared method for canvas to execute actions * Shared method for canvas to execute actions
* *
* @param string &$action Action string * @param string $action Action string
* @param int $id Object id * @param int $id Object id
* @return mixed Return return code of doActions of canvas * @return mixed Return return code of doActions of canvas
* @deprecated This function is called if you add a doActions class inside your canvas. Try to not * @deprecated This function is called if you add a doActions class inside your canvas. Try to not

View File

@ -201,4 +201,3 @@ class dolprintIPP
return $ipp->printer_attributes; return $ipp->printer_attributes;
} }
} }
?>

View File

@ -1041,7 +1041,7 @@ class ExtraFields
* Fill array_options property of object by extrafields value (using for data sent by forms) * Fill array_options property of object by extrafields value (using for data sent by forms)
* *
* @param array $extralabels $array of extrafields * @param array $extralabels $array of extrafields
* @param object &$object Object * @param object $object Object
* @param string $onlykey Only following key is filled * @param string $onlykey Only following key is filled
* @return int 1 if array_options set / 0 if no value * @return int 1 if array_options set / 0 if no value
*/ */

View File

@ -114,8 +114,8 @@ class HookManager
* *
* @param string $method Name of method hooked ('doActions', 'printSearchForm', 'showInputField', ...) * @param string $method Name of method hooked ('doActions', 'printSearchForm', 'showInputField', ...)
* @param array $parameters Array of parameters * @param array $parameters Array of parameters
* @param Object &$object Object to use hooks on * @param Object $object Object to use hooks on
* @param string &$action Action code on calling page ('create', 'edit', 'view', 'add', 'update', 'delete'...) * @param string $action Action code on calling page ('create', 'edit', 'view', 'add', 'update', 'delete'...)
* @return mixed For doActions,formObjectOptions,pdf_xxx: Return 0 if we want to keep standard actions, >0 if if want to stop standard actions, <0 means KO. * @return mixed For doActions,formObjectOptions,pdf_xxx: Return 0 if we want to keep standard actions, >0 if if want to stop standard actions, <0 means KO.
* For printSearchForm,printLeftBlock,printTopRightMenu,formAddObjectLine,...: Return HTML string. TODO Deprecated. Must always return an int and things to print into ->resprints. * For printSearchForm,printLeftBlock,printTopRightMenu,formAddObjectLine,...: Return HTML string. TODO Deprecated. Must always return an int and things to print into ->resprints.
* Can also return some values into an array ->results. * Can also return some values into an array ->results.

View File

@ -1492,9 +1492,9 @@ class Form
/** /**
* constructProductListOption * constructProductListOption
* *
* @param resultset &$objp Resultset of fetch * @param resultset $objp Resultset of fetch
* @param string &$opt Option * @param string $opt Option
* @param string &$optJson Option * @param string $optJson Option
* @param int $price_level Price level * @param int $price_level Price level
* @param string $selected Preselected value * @param string $selected Preselected value
* @return void * @return void
@ -4080,7 +4080,7 @@ class Form
/** /**
* Return HTML code to output a barcode * Return HTML code to output a barcode
* *
* @param Object &$object Object containing data to retrieve file name * @param Object $object Object containing data to retrieve file name
* @param int $width Width of photo * @param int $width Width of photo
* @return string HTML code to output barcode * @return string HTML code to output barcode
*/ */

View File

@ -462,7 +462,7 @@ class FormOther
/** /**
* Write lines of a project (all lines of a project if parent = 0) * Write lines of a project (all lines of a project if parent = 0)
* *
* @param int &$inc Cursor counter * @param int $inc Cursor counter
* @param int $parent Id of parent task we want to see * @param int $parent Id of parent task we want to see
* @param array $lines Array of task lines * @param array $lines Array of task lines
* @param int $level Level * @param int $level Level

View File

@ -370,7 +370,7 @@ class Ldap
* Ldap object connect and bind must have been done * Ldap object connect and bind must have been done
* *
* @param string $dn DN entry key * @param string $dn DN entry key
* @param string[] $info Attributes array * @param array $info Attributes array
* @param User $user Objet user that create * @param User $user Objet user that create
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
*/ */
@ -423,7 +423,7 @@ class Ldap
* Ldap object connect and bind must have been done * Ldap object connect and bind must have been done
* *
* @param string $dn DN entry key * @param string $dn DN entry key
* @param string[] $info Attributes array * @param array $info Attributes array
* @param string $user Objet user that modify * @param string $user Objet user that modify
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
*/ */
@ -475,7 +475,7 @@ class Ldap
* Ldap object connect and bind must have been done * Ldap object connect and bind must have been done
* *
* @param string $dn DN entry key * @param string $dn DN entry key
* @param string[] $info Attributes array * @param array $info Attributes array
* @param User $user Objet user that update * @param User $user Objet user that update
* @param string $olddn Old DN entry key (before update) * @param string $olddn Old DN entry key (before update)
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
@ -563,7 +563,7 @@ class Ldap
* Build a LDAP message * Build a LDAP message
* *
* @param string $dn DN entry key * @param string $dn DN entry key
* @param string[] $info Attributes array * @param array $info Attributes array
* @return string Content of file * @return string Content of file
*/ */
function dump_content($dn, $info) function dump_content($dn, $info)
@ -605,7 +605,7 @@ class Ldap
* Dump a LDAP message to ldapinput.in file * Dump a LDAP message to ldapinput.in file
* *
* @param string $dn DN entry key * @param string $dn DN entry key
* @param string[] $info Attributes array * @param array $info Attributes array
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
*/ */
function dump($dn, $info) function dump($dn, $info)
@ -642,7 +642,7 @@ class Ldap
* Ldap object connect and bind must have been done * Ldap object connect and bind must have been done
* *
* @param string $dn DN entry key * @param string $dn DN entry key
* @param string[] $info Attributes array * @param array $info Attributes array
* @param User $user Objet user that create * @param User $user Objet user that create
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
*/ */
@ -694,7 +694,7 @@ class Ldap
* Ldap object connect and bind must have been done * Ldap object connect and bind must have been done
* *
* @param string $dn DN entry key * @param string $dn DN entry key
* @param string[] $info Attributes array * @param array $info Attributes array
* @param User $user Objet user that create * @param User $user Objet user that create
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
*/ */
@ -746,7 +746,7 @@ class Ldap
* Ldap object connect and bind must have been done * Ldap object connect and bind must have been done
* *
* @param string $dn DN entry key * @param string $dn DN entry key
* @param string[] $info Attributes array * @param array $info Attributes array
* @param User $user Objet user that create * @param User $user Objet user that create
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
*/ */

View File

@ -234,7 +234,7 @@ class Link extends CommonObject
/** /**
* Loads all links from database * Loads all links from database
* *
* @param array &$links array of Link objects to fill * @param array $links array of Link objects to fill
* @param string $objecttype type of the associated object in dolibarr * @param string $objecttype type of the associated object in dolibarr
* @param int $objectid id of the associated object in dolibarr * @param int $objectid id of the associated object in dolibarr
* @param string $sortfield field used to sort * @param string $sortfield field used to sort

View File

@ -380,7 +380,7 @@ class Menubase
* @param string $myleftmenu Value for leftmenu to filter menu to load (always '') * @param string $myleftmenu Value for leftmenu to filter menu to load (always '')
* @param int $type_user 0=Menu for backoffice, 1=Menu for front office * @param int $type_user 0=Menu for backoffice, 1=Menu for front office
* @param string $menu_handler Filter on name of menu_handler used (auguria, eldy...) * @param string $menu_handler Filter on name of menu_handler used (auguria, eldy...)
* @param array &$tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty) * @param array $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty)
* @return array Return array with menu entries for top menu * @return array Return array with menu entries for top menu
*/ */
function menuTopCharger($mymainmenu, $myleftmenu, $type_user, $menu_handler, &$tabMenu) function menuTopCharger($mymainmenu, $myleftmenu, $type_user, $menu_handler, &$tabMenu)
@ -408,7 +408,7 @@ class Menubase
* @param string $myleftmenu Value for leftmenu to filter menu to load (always '') * @param string $myleftmenu Value for leftmenu to filter menu to load (always '')
* @param int $type_user 0=Menu for backoffice, 1=Menu for front office * @param int $type_user 0=Menu for backoffice, 1=Menu for front office
* @param string $menu_handler Filter on name of menu_handler used (auguria, eldy...) * @param string $menu_handler Filter on name of menu_handler used (auguria, eldy...)
* @param array &$tabMenu Array with menu entries already loaded * @param array $tabMenu Array with menu entries already loaded
* @return Menu Menu array for particular mainmenu value or full tabArray * @return Menu Menu array for particular mainmenu value or full tabArray
*/ */
function menuLeftCharger($newmenu, $mymainmenu, $myleftmenu, $type_user, $menu_handler, &$tabMenu) function menuLeftCharger($newmenu, $mymainmenu, $myleftmenu, $type_user, $menu_handler, &$tabMenu)
@ -493,7 +493,7 @@ class Menubase
* @param string $myleftmenu Value for left that defined leftmenu * @param string $myleftmenu Value for left that defined leftmenu
* @param int $type_user Looks for menu entry for 0=Internal users, 1=External users * @param int $type_user Looks for menu entry for 0=Internal users, 1=External users
* @param string $menu_handler Name of menu_handler used ('auguria', 'eldy'...) * @param string $menu_handler Name of menu_handler used ('auguria', 'eldy'...)
* @param array &$tabMenu Array to store new entries found (in most cases, it's empty, but may be alreay filled) * @param array $tabMenu Array to store new entries found (in most cases, it's empty, but may be alreay filled)
* @return int >0 if OK, <0 if KO * @return int >0 if OK, <0 if KO
*/ */
function menuLoad($mymainmenu, $myleftmenu, $type_user, $menu_handler, &$tabMenu) function menuLoad($mymainmenu, $myleftmenu, $type_user, $menu_handler, &$tabMenu)

View File

@ -452,7 +452,7 @@ class RssParser
* *
* @param string $p Start * @param string $p Start
* @param string $element Tag * @param string $element Tag
* @param array &$attrs Attributes of tags * @param array $attrs Attributes of tags
* @return void * @return void
*/ */
function feed_start_element($p, $element, &$attrs) function feed_start_element($p, $element, &$attrs)
@ -644,7 +644,7 @@ class RssParser
/** /**
* To concat 2 string with no warning if an operand is not defined * To concat 2 string with no warning if an operand is not defined
* *
* @param string &$str1 Str1 * @param string $str1 Str1
* @param string $str2 Str2 * @param string $str2 Str2
* @return string String cancatenated * @return string String cancatenated
*/ */

View File

@ -17,8 +17,8 @@
*/ */
/** /**
* \file htdocs/core/db/dolidb.class.php * \file htdocs/core/db/DoliDB.class.php
* \brief Class file to manage Dolibarr database access * \brief Class file to manage Dolibarr database access
*/ */
require_once DOL_DOCUMENT_ROOT .'/core/db/Database.interface.php'; require_once DOL_DOCUMENT_ROOT .'/core/db/Database.interface.php';

View File

@ -853,17 +853,17 @@ function unActivateModule($value, $requiredby=1)
/** /**
* Add external modules to list of dictionaries * Add external modules to list of dictionaries
* *
* @param array &$taborder Taborder * @param array $taborder Taborder
* @param array &$tabname Tabname * @param array $tabname Tabname
* @param array &$tablib Tablib * @param array $tablib Tablib
* @param array &$tabsql Tabsql * @param array $tabsql Tabsql
* @param array &$tabsqlsort Tabsqlsort * @param array $tabsqlsort Tabsqlsort
* @param array &$tabfield Tabfield * @param array $tabfield Tabfield
* @param array &$tabfieldvalue Tabfieldvalue * @param array $tabfieldvalue Tabfieldvalue
* @param array &$tabfieldinsert Tabfieldinsert * @param array $tabfieldinsert Tabfieldinsert
* @param array &$tabrowid Tabrowid * @param array $tabrowid Tabrowid
* @param array &$tabcond Tabcond * @param array $tabcond Tabcond
* @param array &$tabhelp Tabhelp * @param array $tabhelp Tabhelp
* @return int 1 * @return int 1
*/ */
function complete_dictionary_with_modules(&$taborder,&$tabname,&$tablib,&$tabsql,&$tabsqlsort,&$tabfield,&$tabfieldvalue,&$tabfieldinsert,&$tabrowid,&$tabcond,&$tabhelp) function complete_dictionary_with_modules(&$taborder,&$tabname,&$tablib,&$tabsql,&$tabsqlsort,&$tabfield,&$tabfieldvalue,&$tabfieldinsert,&$tabrowid,&$tabcond,&$tabhelp)

View File

@ -43,7 +43,7 @@ function dol_basename($pathfile)
* @param string $types Can be "directories", "files", or "all" * @param string $types Can be "directories", "files", or "all"
* @param int $recursive Determines whether subdirectories are searched * @param int $recursive Determines whether subdirectories are searched
* @param string $filter Regex filter to restrict list. This regex value must be escaped for '/', since this char is used for preg_match function * @param string $filter Regex filter to restrict list. This regex value must be escaped for '/', since this char is used for preg_match function
* @param string[] $excludefilter Array of Regex for exclude filter (example: array('(\.meta|_preview\.png)$','^\.')) * @param array $excludefilter Array of Regex for exclude filter (example: array('(\.meta|_preview\.png)$','^\.'))
* @param string $sortcriteria Sort criteria ("","fullname","name","date","size") * @param string $sortcriteria Sort criteria ("","fullname","name","date","size")
* @param string $sortorder Sort order (SORT_ASC, SORT_DESC) * @param string $sortorder Sort order (SORT_ASC, SORT_DESC)
* @param int $mode 0=Return array minimum keys loaded (faster), 1=Force all keys like date and size to be loaded (slower), 2=Force load of date only, 3=Force load of size only * @param int $mode 0=Return array minimum keys loaded (faster), 1=Force all keys like date and size to be loaded (slower), 2=Force load of date only, 3=Force load of size only
@ -1289,7 +1289,7 @@ function dol_uncompress($inputfile,$outputdir)
* *
* @param string $dir Directory to scan * @param string $dir Directory to scan
* @param string $regexfilter Regex filter to restrict list. This regex value must be escaped for '/', since this char is used for preg_match function * @param string $regexfilter Regex filter to restrict list. This regex value must be escaped for '/', since this char is used for preg_match function
* @param string[] $excludefilter Array of Regex for exclude filter (example: array('(\.meta|_preview\.png)$','^\.')). This regex value must be escaped for '/', since this char is used for preg_match function * @param array $excludefilter Array of Regex for exclude filter (example: array('(\.meta|_preview\.png)$','^\.')). This regex value must be escaped for '/', since this char is used for preg_match function
* @param int $nohook Disable all hooks * @param int $nohook Disable all hooks
* @return string Full path to most recent file * @return string Full path to most recent file
*/ */

View File

@ -3770,7 +3770,7 @@ function make_substitutions($chaine,$substitutionarray)
/** /**
* Complete the $substitutionarray with more entries * Complete the $substitutionarray with more entries
* *
* @param array &$substitutionarray Array substitution old value => new value value * @param array $substitutionarray Array substitution old value => new value value
* @param Translate $outputlangs If we want substitution from special constants, we provide a language * @param Translate $outputlangs If we want substitution from special constants, we provide a language
* @param Object $object If we want substitution from special constants, we provide data in a source object * @param Object $object If we want substitution from special constants, we provide data in a source object
* @param Mixed $parameters Add more parameters (useful to pass product lines) * @param Mixed $parameters Add more parameters (useful to pass product lines)
@ -4109,7 +4109,7 @@ function dol_htmloutput_errors($mesgstring='', $mesgarray='', $keepembedded=0)
* or descending output and uses optionally natural case insensitive sorting (which * or descending output and uses optionally natural case insensitive sorting (which
* can be optionally case sensitive as well). * can be optionally case sensitive as well).
* *
* @param array &$array Array to sort (array of array('key','otherkey1','otherkey2'...)) * @param array $array Array to sort (array of array('key','otherkey1','otherkey2'...))
* @param string $index Key in array to use for sorting criteria * @param string $index Key in array to use for sorting criteria
* @param int $order Sort order * @param int $order Sort order
* @param int $natsort 1=use "natural" sort (natsort), 0=use "standard" sort (asort) * @param int $natsort 1=use "natural" sort (natsort), 0=use "standard" sort (asort)
@ -4330,8 +4330,8 @@ function picto_from_langcode($codelang)
* @param Conf $conf Object conf * @param Conf $conf Object conf
* @param Translate $langs Object langs * @param Translate $langs Object langs
* @param Object $object Object object * @param Object $object Object object
* @param array &$head Object head * @param array $head Object head
* @param int &$h New position to fill * @param int $h New position to fill
* @param string $type Value for object where objectvalue can be * @param string $type Value for object where objectvalue can be
* 'thirdparty' to add a tab in third party view * 'thirdparty' to add a tab in third party view
* 'intervention' to add a tab in intervention view * 'intervention' to add a tab in intervention view

View File

@ -1107,7 +1107,7 @@ function numero_semaine($time)
* Convertit une masse d'une unite vers une autre unite * Convertit une masse d'une unite vers une autre unite
* *
* @param float $weight Masse a convertir * @param float $weight Masse a convertir
* @param int &$from_unit Unite originale en puissance de 10 * @param int $from_unit Unite originale en puissance de 10
* @param int $to_unit Nouvelle unite en puissance de 10 * @param int $to_unit Nouvelle unite en puissance de 10
* @return float Masse convertie * @return float Masse convertie
*/ */
@ -1142,7 +1142,7 @@ function weight_convert($weight,&$from_unit,$to_unit)
* *
* @param DoliDB $db Handler database * @param DoliDB $db Handler database
* @param Conf $conf Object conf * @param Conf $conf Object conf
* @param User &$user Object user * @param User $user Object user
* @param array $tab Tableau (cle=>valeur) des parametres a sauvegarder * @param array $tab Tableau (cle=>valeur) des parametres a sauvegarder
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
* *

View File

@ -50,4 +50,3 @@ function holiday_prepare_head($object)
return $head; return $head;
} }
?>

View File

@ -420,7 +420,7 @@ function pdf_build_address($outputlangs,$sourcecompany,$targetcompany='',$target
/** /**
* Show header of page for PDF generation * Show header of page for PDF generation
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $page_height Height of page * @param int $page_height Height of page
* @return void * @return void
@ -441,7 +441,7 @@ function pdf_pagehead(&$pdf,$outputlangs,$page_height)
/** /**
* Add a draft watermark on PDF files * Add a draft watermark on PDF files
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Translate $outputlangs Object lang * @param Translate $outputlangs Object lang
* @param int $h Height of PDF * @param int $h Height of PDF
* @param int $w Width of PDF * @param int $w Width of PDF
@ -481,7 +481,7 @@ function pdf_watermark(&$pdf, $outputlangs, $h, $w, $unit, $text)
/** /**
* Show bank informations for PDF generation * Show bank informations for PDF generation
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Translate $outputlangs Object lang * @param Translate $outputlangs Object lang
* @param int $curx X * @param int $curx X
* @param int $cury Y * @param int $cury Y
@ -643,7 +643,7 @@ function pdf_bank(&$pdf,$outputlangs,$curx,$cury,$account,$onlynumber=0,$default
/** /**
* Show footer of page for PDF generation * Show footer of page for PDF generation
* *
* @param PDF &$pdf The PDF factory * @param PDF $pdf The PDF factory
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param string $paramfreetext Constant name of free text * @param string $paramfreetext Constant name of free text
* @param Societe $fromcompany Object company * @param Societe $fromcompany Object company
@ -852,7 +852,7 @@ function pdf_pagefoot(&$pdf,$outputlangs,$paramfreetext,$fromcompany,$marge_bass
/** /**
* Show linked objects for PDF generation * Show linked objects for PDF generation
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param object $object Object * @param object $object Object
* @param Translate $outputlangs Object lang * @param Translate $outputlangs Object lang
* @param int $posx X * @param int $posx X
@ -890,7 +890,7 @@ function pdf_writeLinkedObjects(&$pdf,$object,$outputlangs,$posx,$posy,$w,$h,$al
/** /**
* Output line description into PDF * Output line description into PDF
* *
* @param PDF &$pdf PDF object * @param PDF $pdf PDF object
* @param Object $object Object * @param Object $object Object
* @param int $i Current line number * @param int $i Current line number
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output

View File

@ -357,5 +357,3 @@ function measuring_units_string($unit,$measuring_style='')
return $measuring_units[$unit]; return $measuring_units[$unit];
} }
?>

View File

@ -206,13 +206,13 @@ function project_admin_prepare_head()
/** /**
* Show task lines with a particular parent * Show task lines with a particular parent
* *
* @param string &$inc Counter that count number of lines legitimate to show (for return) * @param string $inc Counter that count number of lines legitimate to show (for return)
* @param int $parent Id of parent task to start * @param int $parent Id of parent task to start
* @param array &$lines Array of all tasks * @param array $lines Array of all tasks
* @param int &$level Level of task * @param int $level Level of task
* @param string $var Color * @param string $var Color
* @param int $showproject Show project columns * @param int $showproject Show project columns
* @param int &$taskrole Array of roles of user for each tasks * @param int $taskrole Array of roles of user for each tasks
* @param int $projectsListId List of id of project allowed to user (string separated with comma) * @param int $projectsListId List of id of project allowed to user (string separated with comma)
* @param int $addordertick Add a tick to move task * @param int $addordertick Add a tick to move task
* @return void * @return void
@ -443,12 +443,12 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t
/** /**
* Output a task line * Output a task line
* *
* @param string &$inc ? * @param string $inc ?
* @param string $parent ? * @param string $parent ?
* @param Object $lines ? * @param Object $lines ?
* @param int &$level ? * @param int $level ?
* @param string &$projectsrole ? * @param string $projectsrole ?
* @param string &$tasksrole ? * @param string $tasksrole ?
* @param string $mine Show only task lines I am assigned to * @param string $mine Show only task lines I am assigned to
* @param int $restricteditformytask 0=No restriction, 1=Enable add time only if task is a task i am affected to * @param int $restricteditformytask 0=No restriction, 1=Enable add time only if task is a task i am affected to
* @return $inc * @return $inc
@ -589,10 +589,10 @@ function projectLinesb(&$inc, $parent, $lines, &$level, &$projectsrole, &$tasksr
/** /**
* Search in task lines with a particular parent if there is a task for a particular user (in taskrole) * Search in task lines with a particular parent if there is a task for a particular user (in taskrole)
* *
* @param string &$inc Counter that count number of lines legitimate to show (for return) * @param string $inc Counter that count number of lines legitimate to show (for return)
* @param int $parent Id of parent task to start * @param int $parent Id of parent task to start
* @param array &$lines Array of all tasks * @param array $lines Array of all tasks
* @param string &$taskrole Array of task filtered on a particular user * @param string $taskrole Array of task filtered on a particular user
* @return int 1 if there is * @return int 1 if there is
*/ */
function searchTaskInChild(&$inc, $parent, &$lines, &$taskrole) function searchTaskInChild(&$inc, $parent, &$lines, &$taskrole)

View File

@ -28,7 +28,7 @@
/** /**
* Show indent and picto of a tree line. Return array with information of line. * Show indent and picto of a tree line. Return array with information of line.
* *
* @param array &$fulltree Array of entries in correct order * @param array $fulltree Array of entries in correct order
* @param string $key Key of entry into fulltree to show picto * @param string $key Key of entry into fulltree to show picto
* @param int $silent Do not output indent and picto, returns only value * @param int $silent Do not output indent and picto, returns only value
* @return array array(0 or 1 if at least one of this level after, 0 or 1 if at least one of higher level after, nbofdirinsub, nbofdocinsub) * @return array array(0 or 1 if at least one of this level after, 0 or 1 if at least one of higher level after, nbofdirinsub, nbofdocinsub)

View File

@ -59,5 +59,3 @@ function trip_prepare_head($object)
return $head; return $head;
} }
?>

View File

@ -342,4 +342,3 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
print '</table>'; print '</table>';
} }
?>

View File

@ -27,9 +27,9 @@
* Check authentication array and set error, errorcode, errorlabel * Check authentication array and set error, errorcode, errorlabel
* *
* @param array $authentication Array with authentication informations ('login'=>,'password'=>,'entity'=>,'dolibarrkey'=>) * @param array $authentication Array with authentication informations ('login'=>,'password'=>,'entity'=>,'dolibarrkey'=>)
* @param int &$error Number of errors * @param int $error Number of errors
* @param string &$errorcode Error string code * @param string $errorcode Error string code
* @param string &$errorlabel Error string label * @param string $errorlabel Error string label
* @return User Return user object identified by login/pass/entity into authentication array * @return User Return user object identified by login/pass/entity into authentication array
*/ */
function check_authentication($authentication,&$error,&$errorcode,&$errorlabel) function check_authentication($authentication,&$error,&$errorcode,&$errorlabel)

View File

@ -39,5 +39,3 @@ function check_user_password_empty($usertotest,$passwordtotest,$entitytotest)
return $login; return $login;
} }
?>

View File

@ -46,6 +46,3 @@ function check_user_password_forceuser($usertotest,$passwordtotest,$entitytotest
return $login; return $login;
} }
?>

View File

@ -43,6 +43,3 @@ function check_user_password_http($usertotest,$passwordtotest,$entitytotest)
return $login; return $login;
} }
?>

View File

@ -227,5 +227,3 @@ function check_user_password_ldap($usertotest,$passwordtotest,$entitytotest)
return $login; return $login;
} }
?>

View File

@ -112,5 +112,3 @@ function check_user_password_openid($usertotest,$passwordtotest,$entitytotest)
return $login; return $login;
} }
?>

View File

@ -31,8 +31,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/menubase.class.php';
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param string $atarget Target * @param string $atarget Target
* @param int $type_user 0=Menu for backoffice, 1=Menu for front office * @param int $type_user 0=Menu for backoffice, 1=Menu for front office
* @param array &$tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty) * @param array $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty)
* @param array &$menu Object Menu to return back list of menu entries * @param array $menu Object Menu to return back list of menu entries
* @param int $noout Disable output (Initialise &$menu only). * @param int $noout Disable output (Initialise &$menu only).
* @return int 0 * @return int 0
*/ */
@ -203,8 +203,8 @@ function print_end_menu_array_auguria()
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param array $menu_array_before Table of menu entries to show before entries of menu handler * @param array $menu_array_before Table of menu entries to show before entries of menu handler
* @param array $menu_array_after Table of menu entries to show after entries of menu handler * @param array $menu_array_after Table of menu entries to show after entries of menu handler
* @param array &$tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty) * @param array $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty)
* @param Menu &$menu Object Menu to return back list of menu entries * @param Menu $menu Object Menu to return back list of menu entries
* @param int $noout Disable output (Initialise &$menu only). * @param int $noout Disable output (Initialise &$menu only).
* @param string $forcemainmenu 'x'=Force mainmenu to mainmenu='x' * @param string $forcemainmenu 'x'=Force mainmenu to mainmenu='x'
* @param string $forceleftmenu 'all'=Force leftmenu to '' (= all) * @param string $forceleftmenu 'all'=Force leftmenu to '' (= all)
@ -402,8 +402,8 @@ function print_left_auguria_menu($db,$menu_array_before,$menu_array_after,&$tabM
* Function to test if an entry is enabled or not * Function to test if an entry is enabled or not
* *
* @param string $type_user 0=We need backoffice menu, 1=We need frontoffice menu * @param string $type_user 0=We need backoffice menu, 1=We need frontoffice menu
* @param array &$menuentry Array for menu entry * @param array $menuentry Array for menu entry
* @param array &$listofmodulesforexternal Array with list of modules allowed to external users * @param array $listofmodulesforexternal Array with list of modules allowed to external users
* @return int 0=Hide, 1=Show, 2=Show gray * @return int 0=Hide, 1=Show, 2=Show gray
*/ */
function dol_auguria_showmenu($type_user, &$menuentry, &$listofmodulesforexternal) function dol_auguria_showmenu($type_user, &$menuentry, &$listofmodulesforexternal)
@ -430,5 +430,3 @@ function dol_auguria_showmenu($type_user, &$menuentry, &$listofmodulesforexterna
if (! $menuentry['perms']) return 2; // No permissions and user is external if (! $menuentry['perms']) return 2; // No permissions and user is external
return 1; return 1;
} }
?>

View File

@ -32,8 +32,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/menubase.class.php';
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param string $atarget Target (Example: '' or '_top') * @param string $atarget Target (Example: '' or '_top')
* @param int $type_user 0=Menu for backoffice, 1=Menu for front office * @param int $type_user 0=Menu for backoffice, 1=Menu for front office
* @param array &$tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty) * @param array $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty)
* @param array &$menu Object Menu to return back list of menu entries * @param array $menu Object Menu to return back list of menu entries
* @param int $noout Disable output (Initialise &$menu only). * @param int $noout Disable output (Initialise &$menu only).
* @return int 0 * @return int 0
*/ */
@ -428,8 +428,8 @@ function print_end_menu_array()
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param array $menu_array_before Table of menu entries to show before entries of menu handler (menu->liste filled with menu->add) * @param array $menu_array_before Table of menu entries to show before entries of menu handler (menu->liste filled with menu->add)
* @param array $menu_array_after Table of menu entries to show after entries of menu handler (menu->liste filled with menu->add) * @param array $menu_array_after Table of menu entries to show after entries of menu handler (menu->liste filled with menu->add)
* @param array &$tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty) * @param array $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty)
* @param Menu &$menu Object Menu to return back list of menu entries * @param Menu $menu Object Menu to return back list of menu entries
* @param int $noout Disable output (Initialise &$menu only). * @param int $noout Disable output (Initialise &$menu only).
* @param string $forcemainmenu 'x'=Force mainmenu to mainmenu='x' * @param string $forcemainmenu 'x'=Force mainmenu to mainmenu='x'
* @param string $forceleftmenu 'all'=Force leftmenu to '' (= all) * @param string $forceleftmenu 'all'=Force leftmenu to '' (= all)
@ -1364,8 +1364,8 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
* Function to test if an entry is enabled or not * Function to test if an entry is enabled or not
* *
* @param string $type_user 0=We need backoffice menu, 1=We need frontoffice menu * @param string $type_user 0=We need backoffice menu, 1=We need frontoffice menu
* @param array &$menuentry Array for menu entry * @param array $menuentry Array for menu entry
* @param array &$listofmodulesforexternal Array with list of modules allowed to external users * @param array $listofmodulesforexternal Array with list of modules allowed to external users
* @return int 0=Hide, 1=Show, 2=Show gray * @return int 0=Hide, 1=Show, 2=Show gray
*/ */
function dol_eldy_showmenu($type_user, &$menuentry, &$listofmodulesforexternal) function dol_eldy_showmenu($type_user, &$menuentry, &$listofmodulesforexternal)

View File

@ -159,7 +159,7 @@ class CommActionRapport
/** /**
* Write content of pages * Write content of pages
* *
* @param PDF &$pdf Object pdf * @param PDF $pdf Object pdf
* @param Translate $outputlangs Object langs * @param Translate $outputlangs Object langs
* @return int 1 * @return int 1
*/ */
@ -255,7 +255,7 @@ class CommActionRapport
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $pagenb Page nb * @param int $pagenb Page nb
* @return void * @return void

View File

@ -20,7 +20,7 @@
*/ */
/** /**
* \file htdocs/core/modules/product/mod_barcode_product_standard.php * \file htdocs/core/modules/barcode/mod_barcode_product_standard.php
* \ingroup barcode * \ingroup barcode
* \brief File of class to manage barcode numbering with standard rule * \brief File of class to manage barcode numbering with standard rule
*/ */
@ -162,7 +162,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
* Check validity of code according to its rules * Check validity of code according to its rules
* *
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param string &$code Code to check/correct * @param string $code Code to check/correct
* @param Product $product Object product * @param Product $product Object product
* @param int $thirdparty_type 0 = customer/prospect , 1 = supplier * @param int $thirdparty_type 0 = customer/prospect , 1 = supplier
* @param string $type type of barcode (EAN, ISBN, ...) * @param string $type type of barcode (EAN, ISBN, ...)

View File

@ -177,7 +177,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts
/** /**
* Generate Header * Generate Header
* *
* @param PDF &$pdf Pdf object * @param PDF $pdf Pdf object
* @param int $page Current page number * @param int $page Current page number
* @param int $pages Total number of pages * @param int $pages Total number of pages
* @param Translate $outputlangs Object language for output * @param Translate $outputlangs Object language for output
@ -283,7 +283,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts
/** /**
* Output array * Output array
* *
* @param PDF &$pdf PDF object * @param PDF $pdf PDF object
* @param int $pagenb Page nb * @param int $pagenb Page nb
* @param int $pages Pages * @param int $pages Pages
* @param Translate $outputlangs Object lang * @param Translate $outputlangs Object lang
@ -341,7 +341,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -533,7 +533,7 @@ class pdf_einstein extends ModelePDFCommandes
/** /**
* Show payments table * Show payments table
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object order * @param Object $object Object order
* @param int $posy Position y in PDF * @param int $posy Position y in PDF
* @param Translate $outputlangs Object langs for output * @param Translate $outputlangs Object langs for output
@ -548,7 +548,7 @@ class pdf_einstein extends ModelePDFCommandes
/** /**
* Show miscellaneous information (payment mode, payment term, ...) * Show miscellaneous information (payment mode, payment term, ...)
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $posy Y * @param int $posy Y
* @param Translate $outputlangs Langs object * @param Translate $outputlangs Langs object
@ -732,7 +732,7 @@ class pdf_einstein extends ModelePDFCommandes
/** /**
* Show total to pay * Show total to pay
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Facture $object Object invoice * @param Facture $object Object invoice
* @param int $deja_regle Montant deja regle * @param int $deja_regle Montant deja regle
* @param int $posy Position depart * @param int $posy Position depart
@ -989,7 +989,7 @@ class pdf_einstein extends ModelePDFCommandes
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y (not used) * @param int $nexY Y (not used)
@ -1084,7 +1084,7 @@ class pdf_einstein extends ModelePDFCommandes
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -1263,7 +1263,7 @@ class pdf_einstein extends ModelePDFCommandes
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -532,7 +532,7 @@ class pdf_proforma extends ModelePDFCommandes
/** /**
* Show payments table * Show payments table
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object order * @param Object $object Object order
* @param int $posy Position y in PDF * @param int $posy Position y in PDF
* @param Translate $outputlangs Object langs for output * @param Translate $outputlangs Object langs for output
@ -547,7 +547,7 @@ class pdf_proforma extends ModelePDFCommandes
/** /**
* Show miscellaneous information (payment mode, payment term, ...) * Show miscellaneous information (payment mode, payment term, ...)
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $posy Y * @param int $posy Y
* @param Translate $outputlangs Langs object * @param Translate $outputlangs Langs object
@ -689,7 +689,7 @@ class pdf_proforma extends ModelePDFCommandes
/** /**
* Show total to pay * Show total to pay
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Facture $object Object invoice * @param Facture $object Object invoice
* @param int $deja_regle Montant deja regle * @param int $deja_regle Montant deja regle
* @param int $posy Position depart * @param int $posy Position depart
@ -946,7 +946,7 @@ class pdf_proforma extends ModelePDFCommandes
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y (not used) * @param int $nexY Y (not used)
@ -1041,7 +1041,7 @@ class pdf_proforma extends ModelePDFCommandes
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -1220,7 +1220,7 @@ class pdf_proforma extends ModelePDFCommandes
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -357,7 +357,7 @@ class pdf_strato extends ModelePDFContract
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y * @param int $nexY Y
@ -423,7 +423,7 @@ class pdf_strato extends ModelePDFContract
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -602,7 +602,7 @@ class pdf_strato extends ModelePDFContract
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -73,7 +73,7 @@ class pdf_merou extends ModelePdfExpedition
/** /**
* Function to build pdf onto disk * Function to build pdf onto disk
* *
* @param Object &$object Object expedition to generate (or id if old method) * @param Object $object Object expedition to generate (or id if old method)
* @param Translate $outputlangs Lang output object * @param Translate $outputlangs Lang output object
* @param string $srctemplatepath Full path of source filename for generator using a template file * @param string $srctemplatepath Full path of source filename for generator using a template file
* @param int $hidedetails Do not show line details * @param int $hidedetails Do not show line details
@ -353,7 +353,7 @@ class pdf_merou extends ModelePdfExpedition
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y * @param int $nexY Y
@ -394,7 +394,7 @@ class pdf_merou extends ModelePdfExpedition
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text
@ -423,7 +423,7 @@ class pdf_merou extends ModelePdfExpedition
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output

View File

@ -76,7 +76,7 @@ class pdf_rouget extends ModelePdfExpedition
/** /**
* Function to build pdf onto disk * Function to build pdf onto disk
* *
* @param Object &$object Object expedition to generate (or id if old method) * @param Object $object Object expedition to generate (or id if old method)
* @param Translate $outputlangs Lang output object * @param Translate $outputlangs Lang output object
* @param string $srctemplatepath Full path of source filename for generator using a template file * @param string $srctemplatepath Full path of source filename for generator using a template file
* @param int $hidedetails Do not show line details * @param int $hidedetails Do not show line details
@ -354,7 +354,7 @@ class pdf_rouget extends ModelePdfExpedition
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y * @param int $nexY Y
@ -409,7 +409,7 @@ class pdf_rouget extends ModelePdfExpedition
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -649,7 +649,7 @@ class pdf_rouget extends ModelePdfExpedition
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -535,7 +535,7 @@ class pdf_crabe extends ModelePDFFactures
/** /**
* Show payments table * Show payments table
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object invoice * @param Object $object Object invoice
* @param int $posy Position y in PDF * @param int $posy Position y in PDF
* @param Translate $outputlangs Object langs for output * @param Translate $outputlangs Object langs for output
@ -673,7 +673,7 @@ class pdf_crabe extends ModelePDFFactures
/** /**
* Show miscellaneous information (payment mode, payment term, ...) * Show miscellaneous information (payment mode, payment term, ...)
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $posy Y * @param int $posy Y
* @param Translate $outputlangs Langs object * @param Translate $outputlangs Langs object
@ -829,7 +829,7 @@ class pdf_crabe extends ModelePDFFactures
/** /**
* Show total to pay * Show total to pay
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Facture $object Object invoice * @param Facture $object Object invoice
* @param int $deja_regle Montant deja regle * @param int $deja_regle Montant deja regle
* @param int $posy Position depart * @param int $posy Position depart
@ -1124,7 +1124,7 @@ class pdf_crabe extends ModelePDFFactures
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y (not used) * @param int $nexY Y (not used)
@ -1218,7 +1218,7 @@ class pdf_crabe extends ModelePDFFactures
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -1449,7 +1449,7 @@ class pdf_crabe extends ModelePDFFactures
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -345,7 +345,7 @@ class pdf_soleil extends ModelePDFFicheinter
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y * @param int $nexY Y
@ -408,7 +408,7 @@ class pdf_soleil extends ModelePDFFicheinter
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -587,7 +587,7 @@ class pdf_soleil extends ModelePDFFicheinter
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -540,7 +540,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
/** /**
* Show miscellaneous information (payment mode, payment term, ...) * Show miscellaneous information (payment mode, payment term, ...)
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $posy Y * @param int $posy Y
* @param Translate $outputlangs Langs object * @param Translate $outputlangs Langs object
@ -567,7 +567,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y (not used) * @param int $nexY Y (not used)
@ -626,7 +626,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -842,7 +842,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -99,7 +99,7 @@ class pdf_standard
* Methode qui permet de modifier la taille des caracteres * Methode qui permet de modifier la taille des caracteres
* Cela modiera aussi l'espace entre chaque ligne * Cela modiera aussi l'espace entre chaque ligne
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param int $pt point * @param int $pt point
* @return void * @return void
*/ */
@ -118,7 +118,7 @@ class pdf_standard
* - %LOGO% is replace with company logo * - %LOGO% is replace with company logo
* - %PHOTO% is replace with photo provided as parameter * - %PHOTO% is replace with photo provided as parameter
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param string $textleft Text left * @param string $textleft Text left
* @param string $header Header * @param string $header Header
* @param string $footer Footer * @param string $footer Footer
@ -300,7 +300,7 @@ class pdf_standard
/** /**
* Print dot line * Print dot line
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param int $x1 X1 * @param int $x1 X1
* @param int $y1 Y1 * @param int $y1 Y1
* @param int $x2 X2 * @param int $x2 X2
@ -341,7 +341,7 @@ class pdf_standard
/** /**
* Fonction realisant une croix aux 4 coins des cartes * Fonction realisant une croix aux 4 coins des cartes
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param int $x1 X1 * @param int $x1 X1
* @param int $y1 Y1 * @param int $y1 Y1
* @param int $x2 X2 * @param int $x2 X2
@ -412,7 +412,7 @@ class pdf_standard
/** /**
* Set format * Set format
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param string $format Format * @param string $format Format
* @return void * @return void
*/ */

View File

@ -22,7 +22,7 @@
*/ */
/** /**
* \defgroup tax Module salaries * \defgroup salaries Module salaries
* \brief Module to include salaries management * \brief Module to include salaries management
* \file htdocs/core/modules/modSalaries.class.php * \file htdocs/core/modules/modSalaries.class.php
* \ingroup salaries * \ingroup salaries

View File

@ -99,7 +99,7 @@ class pdf_standardlabel
* Methode qui permet de modifier la taille des caracteres * Methode qui permet de modifier la taille des caracteres
* Cela modiera aussi l'espace entre chaque ligne * Cela modiera aussi l'espace entre chaque ligne
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param int $pt point * @param int $pt point
* @return void * @return void
*/ */
@ -117,7 +117,7 @@ class pdf_standardlabel
* - %LOGO% is replace with company logo * - %LOGO% is replace with company logo
* - %PHOTO% is replace with photo provided as parameter * - %PHOTO% is replace with photo provided as parameter
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param string $textleft Text left * @param string $textleft Text left
* @param string $header Header * @param string $header Header
* @param string $footer Footer * @param string $footer Footer
@ -292,7 +292,7 @@ class pdf_standardlabel
/** /**
* Print dot line * Print dot line
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param int $x1 X1 * @param int $x1 X1
* @param int $y1 Y1 * @param int $y1 Y1
* @param int $x2 X2 * @param int $x2 X2
@ -333,7 +333,7 @@ class pdf_standardlabel
/** /**
* Fonction realisant une croix aux 4 coins des cartes * Fonction realisant une croix aux 4 coins des cartes
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param int $x1 X1 * @param int $x1 X1
* @param int $y1 Y1 * @param int $y1 Y1
* @param int $x2 X2 * @param int $x2 X2
@ -404,7 +404,7 @@ class pdf_standardlabel
/** /**
* Set format * Set format
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param string $format Format * @param string $format Format
* @return void * @return void
*/ */

View File

@ -220,7 +220,7 @@ class mod_codeproduct_elephant extends ModeleProductCode
* Check validity of code according to its rules * Check validity of code according to its rules
* *
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param string &$code Code to check/correct * @param string $code Code to check/correct
* @param Product $product Object product * @param Product $product Object product
* @param int $type 0 = customer/prospect , 1 = supplier * @param int $type 0 = customer/prospect , 1 = supplier
* @return int 0 if OK * @return int 0 if OK

View File

@ -91,7 +91,7 @@ class mod_codeproduct_leopard extends ModeleProductCode
* Check validity of code according to its rules * Check validity of code according to its rules
* *
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param string &$code Code to check/correct * @param string $code Code to check/correct
* @param Product $product Object product * @param Product $product Object product
* @param int $type 0 = product , 1 = service * @param int $type 0 = product , 1 = service
* @return int 0 if OK * @return int 0 if OK

View File

@ -315,7 +315,7 @@ class pdf_baleine extends ModelePDFProjects
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y * @param int $nexY Y
@ -348,7 +348,7 @@ class pdf_baleine extends ModelePDFProjects
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -434,7 +434,7 @@ class pdf_baleine extends ModelePDFProjects
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -589,7 +589,7 @@ class pdf_azur extends ModelePDFPropales
/** /**
* Show payments table * Show payments table
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object proposal * @param Object $object Object proposal
* @param int $posy Position y in PDF * @param int $posy Position y in PDF
* @param Translate $outputlangs Object langs for output * @param Translate $outputlangs Object langs for output
@ -604,7 +604,7 @@ class pdf_azur extends ModelePDFPropales
/** /**
* Show miscellaneous information (payment mode, payment term, ...) * Show miscellaneous information (payment mode, payment term, ...)
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $posy Y * @param int $posy Y
* @param Translate $outputlangs Langs object * @param Translate $outputlangs Langs object
@ -779,7 +779,7 @@ class pdf_azur extends ModelePDFPropales
/** /**
* Show total to pay * Show total to pay
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Facture $object Object invoice * @param Facture $object Object invoice
* @param int $deja_regle Montant deja regle * @param int $deja_regle Montant deja regle
* @param int $posy Position depart * @param int $posy Position depart
@ -1050,7 +1050,7 @@ class pdf_azur extends ModelePDFPropales
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y (not used) * @param int $nexY Y (not used)
@ -1154,7 +1154,7 @@ class pdf_azur extends ModelePDFPropales
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -1354,7 +1354,7 @@ class pdf_azur extends ModelePDFPropales
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -253,4 +253,3 @@ function propale_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0,
} }
} }
?>

View File

@ -237,7 +237,7 @@ class pdf_paiement
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param int $page Object to show * @param int $page Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -296,7 +296,7 @@ class pdf_paiement
/** /**
* Output body * Output body
* *
* @param PDF &$pdf PDF object * @param PDF $pdf PDF object
* @param string $page Page * @param string $page Page
* @param array $lines Array of lines * @param array $lines Array of lines
* @param Translate $outputlangs Object langs * @param Translate $outputlangs Object langs

View File

@ -239,7 +239,7 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode
* Check validity of code according to its rules * Check validity of code according to its rules
* *
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param string &$code Code to check/correct * @param string $code Code to check/correct
* @param Societe $soc Object third party * @param Societe $soc Object third party
* @param int $type 0 = customer/prospect , 1 = supplier * @param int $type 0 = customer/prospect , 1 = supplier
* @return int 0 if OK * @return int 0 if OK

View File

@ -90,7 +90,7 @@ class mod_codeclient_leopard extends ModeleThirdPartyCode
* Check validity of code according to its rules * Check validity of code according to its rules
* *
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param string &$code Code to check/correct * @param string $code Code to check/correct
* @param Societe $soc Object third party * @param Societe $soc Object third party
* @param int $type 0 = customer/prospect , 1 = supplier * @param int $type 0 = customer/prospect , 1 = supplier
* @return int 0 if OK * @return int 0 if OK

View File

@ -152,7 +152,7 @@ class mod_codeclient_monkey extends ModeleThirdPartyCode
* Check validity of code according to its rules * Check validity of code according to its rules
* *
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param string &$code Code to check/correct * @param string $code Code to check/correct
* @param Societe $soc Object third party * @param Societe $soc Object third party
* @param int $type 0 = customer/prospect , 1 = supplier * @param int $type 0 = customer/prospect , 1 = supplier
* @return int 0 if OK * @return int 0 if OK

View File

@ -494,7 +494,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
/** /**
* Show total to pay * Show total to pay
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Facture $object Object invoice * @param Facture $object Object invoice
* @param int $deja_regle Montant deja regle * @param int $deja_regle Montant deja regle
* @param int $posy Position depart * @param int $posy Position depart
@ -689,7 +689,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y (not used) * @param int $nexY Y (not used)
@ -785,7 +785,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
/** /**
* Show payments table * Show payments table
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object invoice * @param Object $object Object invoice
* @param int $posy Position y in PDF * @param int $posy Position y in PDF
* @param Translate $outputlangs Object langs for output * @param Translate $outputlangs Object langs for output
@ -870,7 +870,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -1045,7 +1045,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -521,7 +521,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
/** /**
* Show payments table * Show payments table
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object order * @param Object $object Object order
* @param int $posy Position y in PDF * @param int $posy Position y in PDF
* @param Translate $outputlangs Object langs for output * @param Translate $outputlangs Object langs for output
@ -536,7 +536,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
/** /**
* Show miscellaneous information (payment mode, payment term, ...) * Show miscellaneous information (payment mode, payment term, ...)
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $posy Y * @param int $posy Y
* @param Translate $outputlangs Langs object * @param Translate $outputlangs Langs object
@ -599,7 +599,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
/** /**
* Show total to pay * Show total to pay
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Facture $object Object invoice * @param Facture $object Object invoice
* @param int $deja_regle Montant deja regle * @param int $deja_regle Montant deja regle
* @param int $posy Position depart * @param int $posy Position depart
@ -802,7 +802,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
/** /**
* Show table for lines * Show table for lines
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param string $tab_top Top position of table * @param string $tab_top Top position of table
* @param string $tab_height Height of table (rectangle) * @param string $tab_height Height of table (rectangle)
* @param int $nexY Y (not used) * @param int $nexY Y (not used)
@ -897,7 +897,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
/** /**
* Show top header of page. * Show top header of page.
* *
* @param PDF &$pdf Object PDF * @param PDF $pdf Object PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param int $showaddress 0=no, 1=yes * @param int $showaddress 0=no, 1=yes
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
@ -1089,7 +1089,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
/** /**
* Show footer of page. Need this->emetteur object * Show footer of page. Need this->emetteur object
* *
* @param PDF &$pdf PDF * @param PDF $pdf PDF
* @param Object $object Object to show * @param Object $object Object to show
* @param Translate $outputlangs Object lang for output * @param Translate $outputlangs Object lang for output
* @param int $hidefreetext 1=Hide free text * @param int $hidefreetext 1=Hide free text

View File

@ -131,7 +131,7 @@ else
print $langs->trans("ErrorUnknown"); print $langs->trans("ErrorUnknown");
} }
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -29,7 +29,7 @@
* \brief File that include conf.php file and commons lib like functions.lib.php * \brief File that include conf.php file and commons lib like functions.lib.php
*/ */
if (! defined('DOL_VERSION')) define('DOL_VERSION','3.6.0'); if (! defined('DOL_VERSION')) define('DOL_VERSION','3.6.1');
if (! defined('EURO')) define('EURO',chr(128)); if (! defined('EURO')) define('EURO',chr(128));
// Define syslog constants // Define syslog constants

View File

@ -190,7 +190,8 @@ print '</form>';
dol_fiche_end(); dol_fiche_end();
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -1762,8 +1762,8 @@ function show_elem($fieldssource,$pos,$key,$var,$nostyle='')
/** /**
* Return not used field number * Return not used field number
* *
* @param array &$fieldssource Array of field source * @param array $fieldssource Array of field source
* @param array &$listofkey Array of keys * @param array $listofkey Array of keys
* @return void * @return void
*/ */
function getnewkey(&$fieldssource,&$listofkey) function getnewkey(&$fieldssource,&$listofkey)

View File

@ -167,7 +167,7 @@ AccountancyDashboard=Accountancy summary
ByProductsAndServices=By products and services ByProductsAndServices=By products and services
RefExt=External ref RefExt=External ref
ToCreateAPredefinedInvoice=To create a predefined invoice, create a standard invoice then, without validating it, click onto button "Convert to predefined invoice". ToCreateAPredefinedInvoice=To create a predefined invoice, create a standard invoice then, without validating it, click onto button "Convert to predefined invoice".
LinkedOrder=linked to order LinkedOrder=Link to order
ReCalculate=Recalculate ReCalculate=Recalculate
Mode1=Method 1 Mode1=Method 1
Mode2=Method 2 Mode2=Method 2

View File

@ -968,5 +968,3 @@ class LivraisonLigne
} }
} }
?>

View File

@ -110,7 +110,7 @@ function test_sql_and_script_inject($val, $type)
/** /**
* Security: Return true if OK, false otherwise. * Security: Return true if OK, false otherwise.
* *
* @param string &$var Variable name * @param string $var Variable name
* @param string $type 1=GET, 0=POST, 2=PHP_SELF * @param string $type 1=GET, 0=POST, 2=PHP_SELF
* @return boolean true if there is an injection * @return boolean true if there is an injection
*/ */

View File

@ -250,4 +250,3 @@ function ajouter_sondage()
exit(); exit();
} }
?>

View File

@ -1083,4 +1083,3 @@ print '<a name="bas"></a>'."\n";
llxFooterSurvey(); llxFooterSurvey();
$db->close(); $db->close();
?>

Some files were not shown because too many files have changed in this diff Show More