29 lines
738 B
PHP
29 lines
738 B
PHP
<?php
|
|
|
|
class CmsPsExtraFieldsValue extends ObjectModel {
|
|
|
|
public $id_cmsps_extrafields_value;
|
|
public $id_group;
|
|
public $position;
|
|
public $value;
|
|
|
|
/**
|
|
* @see ObjectModel::$definition
|
|
*/
|
|
public static $definition = array(
|
|
'table' => 'cmsps_extrafields_value',
|
|
'primary' => 'id_cmsps_extrafields_value',
|
|
'multilang' => TRUE,
|
|
'multilang_shop' => TRUE,
|
|
'fields' => array(
|
|
'position' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
|
'id_group' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
|
|
|
// Lang fields
|
|
'value' => array('type' => self::TYPE_STRING, 'lang' => TRUE, 'validate' => 'isGenericName', 'required' => TRUE, 'size' => 255),
|
|
|
|
),
|
|
);
|
|
|
|
}
|