Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/include/txp_file.php - 1295 lines - 44983 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 = '', $ids = array()  line: 75
The main panel listing all files.

param: string|array $message The activity message
file_multiedit_form($page, $sort, $dir, $crit, $search_method line: 499
No description
file_multi_edit()  line: 541
No description
file_edit($message = '', $id = '')  line: 626
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: 805
No description
file_create()  line: 831
No description
file_insert()  line: 908
No description
file_replace()  line: 999
No description
file_save()  line: 1067
No description
file_delete($ids = array()  line: 1179
No description
file_get_uploaded_name()  line: 1242
No description
file_get_uploaded()  line: 1249
No description
file_set_perm($file line: 1256
No description
file_upload_form($label, $pophelp, $step, $id = '', $label_id = '', $class = '', $wraptag_val = array('div', 'div')  line: 1261
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
param: array        $extra       array('postinput' => $categories ...)
param: string|array $accept      Comma separated list of allowed file types, or empty to omit
file_change_pageby()  line: 1291
No description

title

Body