Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

tables.php File Reference

Go to the source code of this file.

Variables

 $PAGES_TYPES
 $PAGES_TYPES defines the various types of pages (field: doktype) the system can handle and what restrictions may apply to them.
 $ICON_TYPES = Array()
 With $ICON_TYPES you can assign alternative icons to pages records based on another field than 'doktype' Each key is a value from the "module" field of page records and the value is an array with a key/value pair, eg.
 $LANG_GENERAL_LABELS
 Commonly used language labels which can be used in the $TCA array and elsewhere.
 $TCA = array()
 $TCA: This array configures TYPO3 to work with the tables from the database by assigning meta information about data types, relations etc.
 $TBE_MODULES
 $TBE_MODULES contains the structure of the backend modules as they are arranged in main- and sub-modules.
 $TBE_STYLES
 $TBE_STYLES configures backend styles and colors; Basically this contains all the values that can be used to create new skins for TYPO3.
 $FILEICONS
 $FILEICONS defines icons for the various file-formats


Variable Documentation

$FILEICONS
 

$FILEICONS defines icons for the various file-formats

Definition at line 418 of file tables.php.

$ICON_TYPES = Array()
 

With $ICON_TYPES you can assign alternative icons to pages records based on another field than 'doktype' Each key is a value from the "module" field of page records and the value is an array with a key/value pair, eg.

"icon" => "modules_shop.gif"

See also:
t3lib_iconWorks::getIcon(), typo3/sysext/cms/ext_tables.php
Deprecated:

Definition at line 85 of file tables.php.

$LANG_GENERAL_LABELS
 

Initial value:

 array(
   'endtime' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
   'hidden' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
   'starttime' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
   'fe_group' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
   'hide_at_login' => 'LLL:EXT:lang/locallang_general.php:LGL.hide_at_login',
   'any_login' => 'LLL:EXT:lang/locallang_general.php:LGL.any_login',
   'usergroups' => 'LLL:EXT:lang/locallang_general.php:LGL.usergroups',
)
Commonly used language labels which can be used in the $TCA array and elsewhere.

Obsolete - just use the values of each entry directly.

Deprecated:

Definition at line 94 of file tables.php.

$PAGES_TYPES
 

Initial value:

 Array(
   '254' => Array(      //  Doktype 254 is a 'sysFolder' - a general purpose storage folder for whatever you like. In CMS context it's NOT a viewable page. Can contain any element.
      'type' => 'sys',
      'icon' => 'sysf.gif',
      'allowedTables' => '*'
   ),
   '255' => Array(      // Doktype 255 is a recycle-bin.
      'type' => 'sys',
      'icon' => 'recycler.gif',
      'allowedTables' => '*'
   ),
   'default' => Array(
      'type' => 'web',
      'icon' => 'pages.gif',
      'allowedTables' => 'pages',
      'onlyAllowedTables' => '0'
   )
)
$PAGES_TYPES defines the various types of pages (field: doktype) the system can handle and what restrictions may apply to them.

Here you can set the icon and especially you can define which tables are allowed on a certain pagetype (doktype) NOTE: The 'default' entry in the $PAGES_TYPES-array is the 'base' for all types, and for every type the entries simply overrides the entries in the 'default' type!

Definition at line 58 of file tables.php.

$TBE_MODULES
 

Initial value:

 Array (
   'web' => 'list,info,perm,func',
   'file' => 'list',
   'doc' => '',   // This should always be empty!
   'user' => '',
   'tools' => 'em',
   'help' => 'about,cshmanual'
)
$TBE_MODULES contains the structure of the backend modules as they are arranged in main- and sub-modules.

Every entry in this array represents a menu item on either first (key) or second level (value from list) in the left menu in the TYPO3 backend For information about adding modules to TYPO3 you should consult the documentation found in "Inside TYPO3"

Definition at line 376 of file tables.php.

Referenced by t3lib_extMgm::addModule().

$TBE_STYLES
 

Initial value:

 array(
   'colorschemes' => Array (
      '0' => '#E4E0DB,#CBC7C3,#EDE9E5',
   ),
   'borderschemes' => Array (
      '0' => array('border:solid 1px black;',5)
   )
)
$TBE_STYLES configures backend styles and colors; Basically this contains all the values that can be used to create new skins for TYPO3.

For information about making skins to TYPO3 you should consult the documentation found in "Inside TYPO3"

Definition at line 390 of file tables.php.

Referenced by SC_alt_main::init(), SC_alt_toplogo::main(), SC_alt_mod_frameset::main(), and template::template().

$TCA['sys_language'] = array()
 

$TCA: This array configures TYPO3 to work with the tables from the database by assigning meta information about data types, relations etc.

The global variable $TCA will contain the information needed to recognize and render each table in the backend See documentation 'Inside TYPO3' for the syntax and list of required tables/fields!

The tables configured in this document (and backed up by "tbl_be.php") is the required minimum set of tables/field that any TYPO3 system MUST have. These tables are therefore a part of the TYPO3 core. The SQL definitions of these tables (and some more which are not defined in $TCA) is found in the file "tables.sql" Only the "pages" table is defined fully in this file - the others are only defined for the "ctrl" part and the columns are defined in detail in the associated file, "tbl_be.php"

NOTE: The (default) icon for a table is defined 1) as a giffile named 'gfx/i/[tablename].gif' or 2) as the value of [table][ctrl][iconfile] NOTE: [table][ctrl][rootLevel] goes NOT for pages. Apart from that if rootLevel is true, records can ONLY be created on rootLevel. If it's false records can ONLY be created OUTSIDE rootLevel

Definition at line 345 of file tables.php.


Generated on Sun Oct 3 01:06:11 2004 for TYPO3core 3.7.0 dev by  doxygen 1.3.8-20040913