* @copyright 2007-2013 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class DiagnosticCore extends ObjectModel { // public $smarty; public $id; public $id_offrefidelite; public $fidelite_civilite; public $fidelite_nom; public $fidelite_prenom; public $fidelite_adr; public $fidelite_ville; public $fidelite_tel; public $from; public $days; public $months; public $years; public $produits1; public $produits2; public $selectedIds; /** * @see ObjectModel::$definition */ public static $definition = array( 'table' => 'devspeoffrefidelite', 'primary' => 'id_offrefidelite', 'fields' => array( // 'fidelite_adr' => array('type' => self::TYPE_STRING, 'validate' => 'isEmail', 'size' => 128), // 'customer_service' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'), // Lang fields 'fidelite_civilite' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 255), 'fidelite_nom' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 255), 'fidelite_prenom' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 255), 'fidelite_adr' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 255), 'fidelite_ville' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 255), 'fidelite_tel' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 255), 'from' => array('type' => self::TYPE_STRING, 'validate' => 'isString','size' => 255), 'days' => array('type' => self::TYPE_STRING, 'validate' => 'isString','size' => 2), 'months' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 2), 'years' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 4), 'produits1' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 255), 'produits2' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 255), 'selectedIds' => array('type' => self::TYPE_STRING, 'validate' => 'isString', 'size' => 255), // 'description' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCleanHtml'), ), ); public function __construct($id = null, $id_lang = null) { parent::__construct($id, $id_lang); } }