Comments
This commit is contained in:
parent
0cb9ef37c0
commit
483138d195
@ -287,7 +287,7 @@ function getCountry($searchkey,$withcode='',$dbtouse=0,$outputlangs='',$entconv=
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return state translated from an id
|
* Return state translated from an id. Return value is always utf8 encoded and without entities.
|
||||||
*
|
*
|
||||||
* @param int $id id of state (province/departement)
|
* @param int $id id of state (province/departement)
|
||||||
* @param int $withcode '0'=Return label,
|
* @param int $withcode '0'=Return label,
|
||||||
@ -295,7 +295,7 @@ function getCountry($searchkey,$withcode='',$dbtouse=0,$outputlangs='',$entconv=
|
|||||||
* '2'=Return code,
|
* '2'=Return code,
|
||||||
* 'all'=return array('id'=>,'code'=>,'label'=>)
|
* 'all'=return array('id'=>,'code'=>,'label'=>)
|
||||||
* @param DoliDB $dbtouse Database handler (using in global way may fail because of conflicts with some autoload features)
|
* @param DoliDB $dbtouse Database handler (using in global way may fail because of conflicts with some autoload features)
|
||||||
* @return string String with state code or translated state name
|
* @return string String with state code or state name (Return value is always utf8 encoded and without entities)
|
||||||
*/
|
*/
|
||||||
function getState($id,$withcode='',$dbtouse=0)
|
function getState($id,$withcode='',$dbtouse=0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user