ZBlogPHP::GetPostByID PHP 메소드

GetPostByID() 공개 메소드

通过ID获取文章实例
public GetPostByID ( integer $id ) : Post
$id integer
리턴 Post
    public function GetPostByID($id)
    {
        return $this->GetSomeThing('posts', 'ID', $id, 'Post');
    }
ZBlogPHP