示例#1
0
文件: Notes.php 项目: sandin/iMemo
 /** 
  * tag_id 转换成 tag_name
  * 
  * @param $tag_id
  * 
  * @return 
  */
 public function categoryIdToName($category_id)
 {
     $category_db = new Database_NotesCategorys($this->_db);
     if ($category_db->load($category_id)) {
         return $category_db->category_name;
     } else {
         return false;
     }
 }