// Add associations support in Collection
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12135 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -86,6 +86,10 @@ class CountryCore extends ObjectModel
|
||||
// Lang fields
|
||||
'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 64),
|
||||
),
|
||||
'associations' => array(
|
||||
'zone' => array('type' => self::HAS_ONE),
|
||||
'currency' => array('type' => self::HAS_ONE),
|
||||
)
|
||||
);
|
||||
|
||||
protected $webserviceParameters = array(
|
||||
|
||||
Reference in New Issue
Block a user