Source of file RangeAttributeType.php
Size: 0,541 Bytes - Last Modified: 2021-12-23T10:02:45+00:00
/var/www/docs.ssmods.com/process/src/code/model/attributes/RangeAttributeType.php
12345678910111213141516171819202122232425262728 | <?php /** * Created by PhpStorm. * User: Magnum * Date: 2018-02-03 * Time: 22:17 */ class RangeAttributeType extends AttributeType { private static $singular_name = "Range Attribute"; private static $plural_name = "Range Attributes"; private static $db = array( "From" => "Decimal", "To" => "Decimal", "Space" => "Decimal" ); public function getCMSFields() { $fields = parent::getCMSFields(); $fields->removeByName("Sort"); return $fields; } } |