// MERGE with 1.4 r7770

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7776 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-28 09:20:57 +00:00
parent df255f66c1
commit a875fecb20
968 changed files with 26082 additions and 3937 deletions
+3 -3
View File
@@ -82,7 +82,7 @@ class StateCore extends ObjectModel
* @param integer $id_state Country ID
* @return string State name
*/
static public function getNameById($id_state)
public static function getNameById($id_state)
{
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
SELECT `name`
@@ -98,7 +98,7 @@ class StateCore extends ObjectModel
* @param string $id_state Country ID
* @return integer state id
*/
static public function getIdByName($state)
public static function getIdByName($state)
{
$result = Db::getInstance()->getRow('
SELECT `id_state`
@@ -114,7 +114,7 @@ class StateCore extends ObjectModel
* @param string $iso_code Iso code
* @return integer state id
*/
static public function getIdByIso($iso_code)
public static function getIdByIso($iso_code)
{
return Db::getInstance()->getValue('
SELECT `id_state`