Свойство | Type | Description | |
---|---|---|---|
$app | |||
$table_prefix | |||
$tables |
Méthode | Description | |
---|---|---|
__OLD__tree ( $params = false ) | remove me | |
__construct ( $app = null ) | ||
delete ( $data ) | ||
delete_item ( $data ) | ||
get ( $params ) | ||
get_by_id ( $id, $by_field_name = 'id' ) : array | ||
get_by_slug ( $slug ) | ||
get_category_id_from_url ( $url = false ) | ||
get_children ( $parent_id, $type = false, $visible_on_frontend = false ) | ||
get_for_content ( $content_id, $data_type = 'categories' ) | ||
get_items ( mixed $params, string $data_type = 'categories' ) : array | boolean | Gets category items. | |
get_items_count ( $id, $rel_type = false ) : array | boolean | Gets category items count. | |
get_page ( $category_id ) | ||
get_parents ( $id, $without_main_parrent = false, $data_type = 'category' ) | ||
link ( $id ) | ||
reorder ( $data ) | ||
save ( $data, $preserve_cache = false ) | ||
save_item ( $params ) | ||
tree ( $params = false ) | category_tree. |
Méthode | Description | |
---|---|---|
html_tree ( $parent, $link = false, $active_ids = false, $active_code = false, $remove_ids = false, $removed_ids_code = false, $ul_class_name = false, $include_first = false, $content_type = false, $li_class_name = false, $add_ids = false, $orderby = false, $only_with_content = false, $visible_on_frontend = false, $depth_level_counter, $max_level = false, $list_tag = false, $list_item_tag = false, $active_code_tag = false, $ul_class_deep = false, $only_ids = false ) | `. |
public get_children ( $parent_id, $type = false, $visible_on_frontend = false ) |
public get_items_count ( $id, $rel_type = false ) : array | boolean | ||
Résultat | array | boolean |
public get_parents ( $id, $without_main_parrent = false, $data_type = 'category' ) |