[email protected]>
Total Page:16
File Type:pdf, Size:1020Kb
TSref Extension Key: doc_core_tsref Copyright 2000-2005, Kasper Skårhøj, <[email protected]> This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 - a GNU/GPL CMS/Framework available from www.typo3.com Revised for TYPO3 3.8 TSref - 1 Table of Contents TSref.............................................................1 "FE_TABLE":............................................................62 Introduction....................................................................3 "FRAMESET":...........................................................63 Warning......................................................................3 "FRAME":..................................................................63 General information....................................................3 "META":....................................................................63 "CARRAY":...............................................................64 Data types....................................................4 Introduction....................................................................4 Content Objects (cObject)........................65 Datatype reference.........................................................4 PHP-information: .....................................................65 Data types: Object types.............................................9 HTML:.......................................................................66 TEXT:........................................................................66 Objects and properties.............................10 COBJ_ARRAY (COA, COA_INT):............................67 Introduction..................................................................10 FILE:.........................................................................68 Reference to objects:................................................10 IMAGE:.....................................................................68 Calculating values (+calc):........................................10 IMG_RESOURCE:....................................................68 "... / stdWrap":...........................................................10 CLEARGIF:...............................................................69 optionSplit:................................................................10 CONTENT:...............................................................69 Conditions..................................................13 RECORDS:...............................................................70 Condition reference: ...................................................13 HMENU:....................................................................71 browser.....................................................................13 CTABLE:...................................................................78 version......................................................................13 OTABLE: ..................................................................79 system......................................................................14 COLUMNS:...............................................................79 device.......................................................................14 HRULER:..................................................................79 useragent .................................................................15 IMGTEXT:.................................................................79 language...................................................................16 CASE:.......................................................................83 IP..............................................................................16 LOAD_REGISTER:...................................................84 hostname..................................................................16 RESTORE_REGISTER:...........................................84 hour...........................................................................16 FORM:......................................................................84 minute.......................................................................17 SEARCHRESULT:....................................................89 dayofweek.................................................................17 USER and USER_INT:.............................................91 dayofmonth...............................................................17 PHP_SCRIPT:..........................................................92 month........................................................................17 PHP_SCRIPT_INT:..................................................92 usergroup..................................................................17 PHP_SCRIPT_EXT:.................................................93 loginUser...................................................................18 TEMPLATE:..............................................................93 treeLevel...................................................................18 MULTIMEDIA:...........................................................95 PIDinRootline............................................................18 EDITPANEL:.............................................................96 PIDupinRootline........................................................18 GIFBUILDER..............................................97 globalVars:................................................................18 GIFBUILDER:...........................................................97 globalString:..............................................................19 Objectnames in this section:.....................................98 userFunc:..................................................................20 NON-GifBuilderObj: ...............................................104 Functions:..................................................21 MENU Objects..........................................105 stdWrap:...................................................................21 Common properties:...............................................105 imgResource:............................................................27 Common item states for TMENU, GMENU and imageLinkWrap:........................................................28 IMGMENU series:...................................................106 numRows:.................................................................29 [menuObj].sectionIndex..........................................106 select:.......................................................................29 GMENU:.................................................................107 split:..........................................................................30 GMENU_LAYERS / TMENU_LAYERS:.................108 if:...............................................................................31 GMENU_FOLDOUT:..............................................111 typolink:.....................................................................32 TMENU:..................................................................114 textStyle....................................................................35 TMENUITEM:.........................................................115 encapsLines..............................................................36 IMGMENU:.............................................................116 tableStyle..................................................................38 IMGMENUITEM:.....................................................117 addParams...............................................................38 JSMENU:................................................................117 filelink........................................................................39 JSMENUITEM:.......................................................117 parseFunc:................................................................41 media/scripts/ Plugins...........................119 makelinks:.................................................................43 media/scripts/ in general.........................................119 tags:..........................................................................44 About 'example templates'......................................119 HTMLparser:.............................................................44 fe_adminLib.inc.......................................................120 HTMLparser_tags:....................................................45 tipafriendLib.inc.......................................................129 Constants...................................................47 plaintextLib.inc........................................................130 What are constants?....................................................47 Standard Templates................................133 Inserting constants....................................................47 static_template........................................................133 Setup:.........................................................49 Media......................................................................133 Toplevel objects:.......................................................49 PHP include scripts.................................134 The “plugin” TLO:......................................................49 Introduction................................................................134 "CONFIG":................................................................50 Including your script................................................134