coll_category_list_Widget coll_category_list_Widget(
[
$db_row = NULL]
)
|
|
Constructor
Parameters:
string cat_after_level(
int
$level
)
|
|
Callback: Generate code when exiting from a level
Parameters:
|
int |
$level: |
level of the category in the recursive tree |
API Tags:
string cat_before_level(
int
$level
)
|
|
Callback: Generate code when entering a new level
Parameters:
|
int |
$level: |
level of the category in the recursive tree |
API Tags:
string cat_line(
Chapter
$Chapter, int
$level
)
|
|
Callback: Generate category line when it has children
Parameters:
|
Chapter |
$Chapter: |
generic category we want to display |
|
int |
$level: |
level of the category in the recursive tree |
API Tags:
string cat_no_children(
Chapter
$Chapter, int
$level
)
|
|
Callback: Generate category line when it has no children
Parameters:
|
Chapter |
$Chapter: |
generic category we want to display |
|
int |
$level: |
level of the category in the recursive tree |
API Tags:
void display(
array
$params
)
|
|
Display the widget!
Parameters:
|
array |
$params: |
MUST contain at least the basic display params |
Redefinition of:
- ComponentWidget::display()
- Display the widget!
void get_param_definitions(
array
$params
)
|
|
Get definitions for editable params
Parameters:
|
array |
$params: |
local params - 'title': block title (string, default "Categories")
- 'option_all': "All categories" link title, empty to disable (string, default "All")
- 'use_form': Add a form with checkboxes to allow selection of multiple categories (boolean)
- 'disp_names_for_coll_list': Display blog names, if this is an aggregated blog? (boolean)
- 'display_checkboxes': Add checkboxes (but not a complete form) to allow selection of multiple categories (boolean)
|
API Tags:
Redefinition of:
- ComponentWidget::get_param_definitions()
- Get definitions for editable params