✏️ 正在编辑: ProductReviewGrade.php
路径:
/home/bpioifn/www/pigmentse/modules/leofeature/classes/ProductReviewGrade.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * 2007-2015 Leotheme * * NOTICE OF LICENSE * * Leo feature for prestashop 1.7: ajax cart, review, compare, wishlist at product list * * DISCLAIMER * * @author leotheme <leotheme@gmail.com> * @copyright 2007-2015 Leotheme * @license http://leotheme.com - prestashop template provider */ if (!defined('_PS_VERSION_')) { # module validation exit; } class ProductReviewGrade extends ObjectModel { public $id; public $id_product_review; public $id_product_review_criterion; public $grade; /** * @see ObjectModel::$definition */ public static $definition = array( 'table' => 'leofeature_product_review_grade', 'primary' => 'id_product_review_grade', 'fields' => array( 'id_product_review' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 'id_product_review_criterion' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 'grade' => array('type' => self::TYPE_FLOAT, 'validate' => 'isFloat'), ) ); }
💾 保存文件
← 返回文件管理器