// Complete the removal of Image->legend property

This commit is contained in:
tDidierjean
2011-12-20 16:54:44 +00:00
parent 43b9746300
commit f06e16e6fd
4 changed files with 26 additions and 49 deletions
-6
View File
@@ -35,9 +35,6 @@ class ImageCore extends ObjectModel
/** @var integer Product ID */
public $id_product;
/** @var string HTML title and alt attributes */
public $legend;
/** @var integer Position used to order images of the same product */
public $position;
@@ -70,9 +67,6 @@ class ImageCore extends ObjectModel
'id_product' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
'position' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'),
'cover' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
// Lang fields
'legend' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 128),
),
);