コード例 #1
0
ファイル: CTag.class.php プロジェクト: fbone/mediboard4
 /**
  * @see parent::getAutocompleteList()
  */
 function getAutocompleteList($keywords, $where = null, $limit = null, $ljoin = null, $order = null)
 {
     $list = array();
     if ($keywords === "%" || $keywords == "") {
         $tree = self::getTree($this->object_class);
         self::appendItemsRecursive($list, $tree);
         foreach ($list as $_tag) {
             $_tag->_view = $_tag->name;
         }
     } else {
         $list = parent::getAutocompleteList($keywords, $where, $limit);
     }
     return $list;
 }