const.php File Reference

constants that should not be changed by the user More...

Go to the source code of this file.

Variables

 $actions_info
 list of actions
 $item_info
 list of item types
 $validation_info
 how to validate $_GET and $_POST contents
 $mime_types
 mapping of file name (regexp) -> mime type


Detailed Description

constants that should not be changed by the user

This file contains information about actions, item types etc., that do not need to be changed by the user but may be interesting for the software developer.

Definition in file const.php.


Variable Documentation

$actions_info

list of actions

This array is used in actions.php. It contains information about which actions exist, who may perform them (acl), which buttons in HTML forms are bound to these actions (button), whether user confirmation is required for this action (confirm), and the PHP code required to execute the action (eval).

Definition at line 25 of file const.php.

Referenced by do_action(), edit_item(), report(), show_collection(), show_index(), show_users(), and view_item().

$item_info

list of item types

Item-type specific information on how to display, change, and edit the item. This information is used by edit_item.php, view_item.php and del_item.php. Please refer to the comments in the source code of these three files for details about the contents of this array.

Definition at line 547 of file const.php.

Referenced by do_action(), edit_item(), and report().

$validation_info

how to validate $_GET and $_POST contents

All user input (i.e. $_GET and $_POST) is checked for plausible values in all scripts. For example, $_GET['foo'] must match the o regular expression $validation_info['foo'] to be considered valid. Invalid data is discarded.

Definition at line 857 of file const.php.

Referenced by check_input(), del_item(), do_action(), do_login(), edit_item(), report(), set_item_state(), show_collection(), show_index(), and view_email().


Generated on Fri Jul 14 17:38:56 2006 for semapp by  doxygen 1.4.7