Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_category.php - 665 lines - 20071 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: 62
Outputs the main panel listing all categories.

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

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

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

cat_article_save()  line: 138
Saves an article category.

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

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

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

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

cat_link_save()  line: 198
Saves a link category.

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

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

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

cat_image_save()  line: 234
Saves an image category.

cat_article_multiedit_form($area, $array line: 243
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: 274
Processes multi-edit actions.

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

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

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

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

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

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

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

cat_file_save()  line: 658
Saves a file category.

title

Body