Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_file.php - 1237 lines - 41244 bytes - Source - Print

Description: Files panel.

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

Defines 15 functions

file_list()
file_multiedit_form()
file_multi_edit()
file_edit()
file_db_add()
file_create()
file_insert()
file_replace()
file_save()
file_delete()
file_get_uploaded_name()
file_get_uploaded()
file_set_perm()
file_upload_form()
file_change_pageby()

Functions

Functions that are not part of a class:

file_list($message = '')  line: 78
The main panel listing all files.

param: string|array $message The activity message
file_multiedit_form($page, $sort, $dir, $crit, $search_method line: 510
No description
file_multi_edit()  line: 543
No description
file_edit($message = '', $id = '')  line: 625
Renders and outputs the file editor panel.

param: string|array $message The activity message
param: int          $id      The file ID
file_db_add($filename, $category, $permissions, $description, $size, $title = '')  line: 808
No description
file_create()  line: 840
No description
file_insert()  line: 882
No description
file_replace()  line: 948
No description
file_save()  line: 1016
No description
file_delete($ids = array()  line: 1125
No description
file_get_uploaded_name()  line: 1186
No description
file_get_uploaded()  line: 1193
No description
file_set_perm($file line: 1200
No description
file_upload_form($label, $pophelp, $step, $id = '', $label_id = '', $class = '', $wraptag_val = array('div', 'div')  line: 1205
Renders a specific file upload form.

return: string HTML
param: string       $label       File name label. May be empty
param: string       $pophelp     Help item
param: string       $step        Step
param: string       $id          File id
param: string       $label_id    HTML id attribute for the filename input element
param: string       $class       HTML class attribute for the form element
param: string|array $wraptag_val Tag to wrap the value / label in, or empty to omit
file_change_pageby()  line: 1233
No description

title

Body