common\models\Post::attributeLabels PHP Method

attributeLabels() public method

public attributeLabels ( )
    public function attributeLabels()
    {
        return ['id' => 'ID', 'type' => '内容类型', 'post_meta_id' => '分类', 'category_name' => '分类', 'user_id' => '用户ID', 'username' => '用户', 'title' => '标题', 'author' => '作者', 'excerpt' => '摘要', 'image' => '封面图片', 'content' => '内容', 'tags' => '标签', 'last_comment_username' => '最后回复用户', 'last_comment_time' => '最后评论时间', 'view_count' => '查看数', 'comment_count' => '评论数', 'favorite_count' => '收藏数', 'like_count' => '喜欢数', 'thanks_count' => '感谢数', 'hate_count' => '讨厌数', 'status' => '状态', 'order' => '排序', 'created_at' => '创建时间', 'updated_at' => '修改时间', 'cc' => '注明版权信息(原创文章欢迎使用)'];
    }