Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_category.php - 676 lines - 20573 bytes - Source - Print

Description: Category panel.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 24 functions

cat_category_list()
cat_article_list()
cat_article_create()
cat_article_edit()
cat_article_save()
cat_parent_pop()
cat_link_list()
cat_link_create()
cat_link_edit()
cat_link_save()
cat_image_list()
cat_image_create()
cat_image_edit()
cat_image_save()
cat_article_multiedit_form()
cat_category_multiedit()
cat_event_category_list()
cat_event_category_create()
cat_event_category_edit()
cat_event_category_save()
cat_file_list()
cat_file_create()
cat_file_edit()
cat_file_save()

Functions

Functions that are not part of a class:

cat_category_list($message = "")  line: 61
Outputs the main panel listing all categories.

param: string|array $message The activity message
cat_article_list()  line: 110
Renders a list of article categories.

cat_article_create()  line: 119
Processes a saved editor form and creates an article category.

cat_article_edit()  line: 128
Renders an editor form for article categories.

cat_article_save()  line: 137
Saves an article category.

cat_parent_pop($name, $type, $id line: 146
Renders a list of parent category options.

return: string HTML <select> input
cat_link_list()  line: 170
Renders a list of link categories.

cat_link_create()  line: 179
Processes a saved editor form and creates a link category.

cat_link_edit()  line: 188
Renders an editor form for link categories.

cat_link_save()  line: 197
Saves a link category.

cat_image_list()  line: 206
Renders a list of image categories.

cat_image_create()  line: 215
Processes a saved editor form and creates an image category.

cat_image_edit()  line: 224
Renders an editor form for image categories.

cat_image_save()  line: 233
Saves an image category.

cat_article_multiedit_form($area, $array line: 242
Renders a multi-edit form.

return: string HTML
param: string $area  Type of category
param: array  $array Additional HTML added to the form
cat_category_multiedit()  line: 276
Processes multi-edit actions.

cat_event_category_list($event line: 372
Renders a list of categories.

return: string HTML
param: string $event Type of category
cat_event_category_create($event line: 490
Creates a new category.

param: string $event The type of category
cat_event_category_edit($evname, $message = '')  line: 533
Renders and outputs a category editor panel.

param: string $evname Type of category
cat_event_category_save($event, $table_name line: 589
Saves a category from HTTP POST data.

param: string $event Type of category
param: string $table Affected database table
cat_file_list()  line: 642
Renders a list of file categories.

cat_file_create()  line: 651
Processes a saved editor form and creates a file category.

cat_file_edit()  line: 660
Renders an editor form for file categories.

cat_file_save()  line: 669
Saves a file category.

title

Body