// Format definitions

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11173 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-13 13:41:54 +00:00
parent 225c8523e9
commit 03bd438c7d
71 changed files with 710 additions and 1791 deletions
+1 -10
View File
@@ -29,10 +29,6 @@ class ProfileCore extends ObjectModel
{
/** @var string Name */
public $name;
/**
* @see ObjectModel::$definition
@@ -42,16 +38,11 @@ class ProfileCore extends ObjectModel
'primary' => 'id_profile',
'multilang' => true,
'fields' => array(
// Lang fields
'name' => array('type' => 'FILL_ME', 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 32),
),
);
public function getFields()
{
return array('id_profile' => $this->id);
}
/**
* Check then return multilingual fields for database interaction
*