Exemple #1
0
 /**
  * @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;
 }