<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\QuickRun\CustomField; use ModStart\Core\Type\BaseType; class CustomFieldType implements BaseType { const TEXT = 'text'; const TEXTAREA = 'textarea'; const RADIO = 'radio'; const SELECT = 'select'; const CHECKBOX = 'checkbox'; const IMAGE = 'image'; const IMAGES = 'images'; const FILE = 'file'; const DATE = 'date'; const DATETIME = 'datetime'; const RICH_TEXT = 'richText'; public static function getList() { return array(self::TEXT => '单行文本', self::TEXTAREA => '多行文本', self::RADIO => '单选按钮', self::SELECT => '下拉选择', self::CHECKBOX => '多选按钮', self::IMAGE => '图片', self::IMAGES => '多图', self::FILE => '文件', self::DATE => '日期', self::DATETIME => '日期时间', self::RICH_TEXT => '富文本'); } }