// 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(
|
public static $definition = array(
|
||||||
'table' => 'editorial',
|
'table' => 'editorial',
|
||||||
'primary' => 'id_editorial',
|
'primary' => 'id_editorial',
|
||||||
|
'multilang' => true,
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'body_home_logo_link' => array('type' => self::TYPE_STRING, 'validate' => 'isUrl'),
|
'body_home_logo_link' => array('type' => self::TYPE_STRING, 'validate' => 'isUrl'),
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ class HomeSlide extends ObjectModel
|
|||||||
public static $definition = array(
|
public static $definition = array(
|
||||||
'table' => 'homeslider_slides',
|
'table' => 'homeslider_slides',
|
||||||
'primary' => 'id_homeslider_slides',
|
'primary' => 'id_homeslider_slides',
|
||||||
|
'multilang' => true,
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => true),
|
'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => true),
|
||||||
'position' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
'position' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true),
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ class LoyaltyStateModule extends ObjectModel
|
|||||||
public static $definition = array(
|
public static $definition = array(
|
||||||
'table' => 'loyalty_state',
|
'table' => 'loyalty_state',
|
||||||
'primary' => 'id_loyalty_state',
|
'primary' => 'id_loyalty_state',
|
||||||
|
'multilang' => true,
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'id_order_state' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
'id_order_state' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user