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