[*] Classes: ObjectModel::getTranslationsField|Child() is now deprecated, use ObjectModel::getFieldsLang() if need instead

This commit is contained in:
rMalie
2011-12-15 13:24:03 +00:00
parent 9c19cf79a3
commit 58d7f37130
33 changed files with 245 additions and 451 deletions
+1 -10
View File
@@ -81,19 +81,10 @@ class SupplyOrderStateCore extends ObjectModel
'color' => array('type' => self::TYPE_STRING, 'validate' => 'isColor'),
// Lang fields
'name' => array('type' => 'FILL_ME', 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 128),
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 128),
),
);
/**
* @see ObjectModel::getTranslationsFieldsChild()
*/
public function getTranslationsFieldsChild()
{
$this->validateFieldsLang();
return $this->getTranslationsFields(array('name'));
}
/**
* Gets the list of supply order states
*