function addArticleCategory
就在這個地方 插入數據庫吧....PLOG 的 MVC....看不是很明白
$query = "INSERT INTO ".$this->getPrefix()."articles_categories
(name,url,blog_id,in_main_page,properties,mangled_name,description)
VALUES
('".Db::qstr($articleCategory->getName()).
"','".Db::qstr($articleCategory->getURL()).
"','".Db::qstr($articleCategory->getBlogId()).
"','".Db::qstr($articleCategory->isInMainPage()).
"','".Db::qstr(serialize($articleCategory-
>getProperties())).
"', '".TextFilter::urlize($articleCategory-
>getName()).
"', '".Db::qstr($articleCategory-
>getDescription()).
"');";