// Fix multilang on some modules
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11991 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -51,6 +51,7 @@ class EditorialClass extends ObjectModel
|
||||
public static $definition = array(
|
||||
'table' => 'editorial',
|
||||
'primary' => 'id_editorial',
|
||||
'multilang' => true,
|
||||
'fields' => array(
|
||||
'body_home_logo_link' => array('type' => self::TYPE_STRING, 'validate' => 'isUrl'),
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ class HomeSlide extends ObjectModel
|
||||
public static $definition = array(
|
||||
'table' => 'homeslider_slides',
|
||||
'primary' => 'id_homeslider_slides',
|
||||
'multilang' => true,
|
||||
'fields' => array(
|
||||
'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => true),
|
||||
'position' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
||||
|
||||
@@ -39,6 +39,7 @@ class LoyaltyStateModule extends ObjectModel
|
||||
public static $definition = array(
|
||||
'table' => 'loyalty_state',
|
||||
'primary' => 'id_loyalty_state',
|
||||
'multilang' => true,
|
||||
'fields' => array(
|
||||
'id_order_state' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user