32], [['TITLE'], 'string', 'max' => 255], [['CONTENT'], 'string', 'max' => 4000], [['TITLE'], 'unique'], [['ID'], 'unique'], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'ID' => 'ID', 'TITLE' => 'Title', // 标题 'CID' => 'Category Type', // 分类 'CONTENT' => 'Content', // 内容 'STATUS' => 'State', // 状态 'Order' => 'Sort', // 排序 'CREATED_AT' => 'Creation Time', // 创建时间 ]; } }