//oups part 2
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17163 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -36,6 +36,7 @@ class CustomerMessageCore extends ObjectModel
|
||||
public $user_agent;
|
||||
public $private;
|
||||
public $date_add;
|
||||
public $read;
|
||||
|
||||
/**
|
||||
* @see ObjectModel::$definition
|
||||
@@ -52,6 +53,7 @@ class CustomerMessageCore extends ObjectModel
|
||||
'user_agent' => array('type' => self::TYPE_STRING),
|
||||
'private' => array('type' => self::TYPE_INT),
|
||||
'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'),
|
||||
'read' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool')
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user