ZBlogPHP::GetCategoryByName PHP Méthode

GetCategoryByName() public méthode

通过分类名获取分类实例
public GetCategoryByName ( string $name ) : Category
$name string
Résultat Category
    public function GetCategoryByName($name)
    {
        return $this->GetSomeThing('categories', 'Name', $name, 'Category');
    }
ZBlogPHP