Doxygen and removed deprecated code

This commit is contained in:
Laurent Destailleur
2011-04-17 13:26:12 +00:00
parent efd4dedfc9
commit b78900c613
4 changed files with 70 additions and 97 deletions

View File

@@ -474,8 +474,8 @@ class DoliDb
/**
\brief Libere le dernier resultset utilise sur cette connexion.
\param resultset Curseur de la requete voulue
* \brief Libere le dernier resultset utilise sur cette connexion.
* \param resultset Curseur de la requete voulue
*/
function free($resultset=0)
{
@@ -487,10 +487,10 @@ class DoliDb
/**
\brief Defini les limites de la requete.
\param limit nombre maximum de lignes retournees
\param offset numero de la ligne a partir de laquelle recuperer les ligne
\return string chaine exprimant la syntax sql de la limite
* \brief Defini les limites de la requete.
* \param limit nombre maximum de lignes retournees
* \param offset numero de la ligne a partir de laquelle recuperer les ligne
* \return string chaine exprimant la syntax sql de la limite
*/
function plimit($limit=0,$offset=0)
{
@@ -532,9 +532,9 @@ class DoliDb
/**
\brief Escape a string to insert data.
\param stringtoencode String to escape
\return string String escaped
* Escape a string to insert data.
* @param stringtoencode String to escape
* @return string String escaped
*/
function escape($stringtoencode)
{
@@ -543,10 +543,10 @@ class DoliDb
/**
* \brief Convert (by PHP) a GM Timestamp date into a PHP server TZ to insert into a date field.
* Function to use to build INSERT, UPDATE or WHERE predica
* \param param Date TMS to convert
* \return string Date in a string YYYYMMDDHHMMSS
* Convert (by PHP) a GM Timestamp date into a PHP server TZ to insert into a date field.
* Function to use to build INSERT, UPDATE or WHERE predica
* @param param Date TMS to convert
* @return string Date in a string YYYYMMDDHHMMSS
*/
function idate($param)
{
@@ -554,10 +554,10 @@ class DoliDb
}
/**
* \brief Convert (by PHP) a PHP server TZ string date into a GM Timestamps date
* 19700101020000 -> 3600 with TZ+1
* \param string Date in a string (YYYYMMDDHHMMSS, YYYYMMDD, YYYY-MM-DD HH:MM:SS)
* \return date Date TMS
* Convert (by PHP) a PHP server TZ string date into a GM Timestamps date
* 19700101020000 -> 3600 with TZ+1
* @param string Date in a string (YYYYMMDDHHMMSS, YYYYMMDD, YYYY-MM-DD HH:MM:SS)
* @return date Date TMS
*/
function jdate($string)
{
@@ -568,11 +568,11 @@ class DoliDb
}
/**
* \brief Formatage d'un if SQL
* \param test chaine test
* \param resok resultat si test egal
* \param resko resultat si test non egal
* \return string chaine formate SQL
* Formate a SQL IF
* @param test chaine test
* @param resok resultat si test egal
* @param resko resultat si test non egal
* @return string chaine formate SQL
*/
function ifsql($test,$resok,$resko)
{