Another article published by api

真理君的宿敌發表於2024-05-09

article title

ref

  1. Bold content
  2. code
  3. code bolck
class PostStruct extends StructBase
{

    protected static $config = [
        'dateCreated' => DateAttr::class,
        'description' => StringAttr::class,
        'title' => StringAttr::class,
        'categories' => [ArrayAttr::class, 'string'],
//        'enclosure' => EnclosureStruct::class,
        'link' => StringAttr::class,
        'permalink' => StringAttr::class,
        'postid' => Int32Attr::class,
//        'source' => SourceStruct::class,
        'userid' => StringAttr::class,
        'mt_allow_comments' => StringAttr::class,
        'mt_allow_pings' => StringAttr::class,
        'mt_convert_breaks' => StringAttr::class,
        'mt_text_more' => StringAttr::class,
        'mt_excerpt' => StringAttr::class,
        'mt_keywords' => StringAttr::class,
        'wp_slug' => StringAttr::class,
    ];

}

相關文章