"TYPO3 4.0.1: template Class Reference", "datetime" => "Sat Dec 2 19:26:43 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
Public Member Functions | |
template () | |
wrapClickMenuOnIcon ($str, $table, $uid='', $listFr=1, $addParams='', $enDisItems='', $returnOnClick=FALSE) | |
viewPageIcon ($id, $backPath, $addParams='hspace="3"') | |
issueCommand ($params, $rUrl='') | |
isCMlayers () | |
thisBlur () | |
helpStyle () | |
getHeader ($table, $row, $path, $noViewPageIcon=0, $tWrap=array('','')) | |
getFileheader ($title, $path, $iconfile) | |
makeShortcutIcon ($gvList, $setList, $modName, $motherModName="") | |
makeShortcutUrl ($gvList, $setList) | |
formWidth ($size=48, $textarea=0, $styleOverride='') | |
formWidthText ($size=48, $styleOverride='', $wrap='') | |
redirectUrls ($thisLocation='') | |
formatTime ($tstamp, $type) | |
parseTime () | |
startPage ($title) | |
endPage () | |
header ($text) | |
section ($label, $text, $nostrtoupper=FALSE, $sH=FALSE, $type=0, $allowHTMLinHeader=FALSE) | |
divider ($dist) | |
spacer ($dist) | |
sectionHeader ($label, $sH=FALSE, $addAttrib='') | |
sectionBegin () | |
sectionEnd () | |
middle () | |
endPageJS () | |
docBodyTagBegin () | |
docStyle () | |
insertStylesAndJS ($content) | |
initCharset () | |
generator () | |
icons ($type, $styleAttribValue='') | |
t3Button ($onClick, $label) | |
dfw ($string) | |
rfw ($string) | |
wrapInCData ($string) | |
wrapScriptTags ($string, $linebreak=TRUE) | |
table ($arr, $layout='') | |
menuTable ($arr1, $arr2=array(), $arr3=array()) | |
funcMenu ($content, $menu) | |
clearCacheMenu ($id, $addSaveOptions=0) | |
getContextMenuCode () | |
getDragDropCode ($table) | |
getTabMenu ($mainParams, $elementName, $currentValue, $menuItems, $script='', $addparams='') | |
getTabMenuRaw ($menuItems) | |
getDynTabMenu ($menuItems, $identString, $toggle=0, $foldout=FALSE, $newRowCharLimit=50, $noWrap=1, $fullWidth=FALSE, $defaultTabIndex=1) | |
getDynTabMenuJScode () | |
getVersionSelector ($id, $noAction=FALSE) | |
Public Attributes | |
$backPath = '' | |
$form = '' | |
$JScode = '' | |
$JScodeArray = array() | |
$postCode = '' | |
$docType = '' | |
$scriptID = '' | |
$bodyTagId = '' | |
$bodyTagAdditions = '' | |
$inDocStyles = '' | |
$inDocStylesArray = array() | |
$form_rowsToStylewidth = 9.58 | |
$form_largeComp = 1.33 | |
$endJS = 1 | |
$bgColor = '#F7F3EF' | |
$bgColor2 = '#9BA1A8' | |
$bgColor3 = '#F6F2E6' | |
$bgColor4 = '#D9D5C9' | |
$bgColor5 = '#ABBBB4' | |
$bgColor6 = '#E7DBA8' | |
$hoverColor = '#254D7B' | |
$styleSheetFile = 'stylesheet.css' | |
$styleSheetFile2 = '' | |
$styleSheetFile_post = '' | |
$backGroundImage = '' | |
$inDocStyles_TBEstyle = '' | |
$parseTimeFlag = 0 | |
$charset = 'iso-8859-1' | |
$sectionFlag = 0 | |
$divClass = '' | |
$tableLayout | |
$table_TR = '<tr>' | |
$table_TABLE = '<table border="0" cellspacing="0" cellpadding="0" id="typo3-tmpltable">' |
Definition at line 169 of file template.php.
|
Constructor Imports relevant parts from global $TBE_STYLES (colorscheme)
Definition at line 224 of file template.php. |
|
Creates a selector box with clear-cache items. Rather specialized functions - at least don't use it with $addSaveOptions unless you know what you do...
Definition at line 1210 of file template.php. |
|
dimmed-fontwrap. Returns the string wrapped in a -tag defining the color to be gray/dimmed
Definition at line 1041 of file template.php. |
|
Inserts a divider image Ends a section (if open) before inserting the image
Definition at line 765 of file template.php. |
|
Creates the bodyTag. You can add to the bodyTag by $this->bodyTagAdditions
Definition at line 884 of file template.php. |
|
Outputting document style
Definition at line 894 of file template.php. |
|
Returns page end; This includes finishing form, div, body and html tags.
Definition at line 686 of file template.php. References t3lib_div::devLog(), and t3lib_BEfunc::getSetUpdateSignal(). |
|
If a form-tag is defined in ->form then and end-tag for that <form> element is outputted Further a JavaScript section is outputted which will update the top.busy session-expiry object (unless $this->endJS is set to false)
Definition at line 867 of file template.php. |
|
Returns a formatted string of $tstamp Uses $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm'] and $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'] to format date and time
Definition at line 554 of file template.php. |
|
Returns <input> attributes to set the width of an text-type input field. For client browsers with no CSS support the cols/size attribute is returned. For CSS compliant browsers (recommended) a ' style="width: ...px;"' is returned.
Definition at line 488 of file template.php. |
|
This function is dedicated to textareas, which has the wrapping on/off option to observe. EXAMPLE: <textarea rows="10" wrap="off" '.$GLOBALS["TBE_TEMPLATE"]->formWidthText(48,"","off").'> or <textarea rows="10" wrap="virtual" '.$GLOBALS["TBE_TEMPLATE"]->formWidthText(48,"","virtual").'>
Definition at line 513 of file template.php. |
|
Returns a one-row/two-celled table with $content and $menu side by side. The table is a 100% width table and each cell is aligned left / right
Definition at line 1192 of file template.php. |
|
Returns generator meta tag
Definition at line 968 of file template.php. |
|
Returns an array with parts (JavaScript, init-functions, -layers) for use on pages which displays the clickmenu layers (context sensitive menus)
Definition at line 1246 of file template.php. References t3lib_ajax::getJScode(). |
|
Returns an array with parts (JavaScript, init-functions, -layers) for use on pages which have the drag and drop functionality (usually pages and folder display trees)
Definition at line 1472 of file template.php. |
|
Creates a DYNAMIC tab-menu where the tabs are switched between with DHTML. Should work in MSIE, Mozilla, Opera and Konqueror. On Konqueror I did find a serious problem: <textarea> fields loose their content when you switch tabs!
Definition at line 1676 of file template.php. |
|
Returns dynamic tab menu header JS code.
Definition at line 1801 of file template.php. |
|
Like ->getHeader() but for files in the File>* main module/submodules Returns the file-icon with the path of the file set in the alt/title attribute. Shows the file-name after the icon.
Definition at line 419 of file template.php. References t3lib_div::fixed_lgd_cs(), and t3lib_div::split_fileref(). |
|
Makes the header (icon+title) for a page (or other record). Used in most modules under Web>* $table and $row must be a tablename/record from that table $path will be shown as alt-text for the icon. The title will be truncated to 45 chars.
Definition at line 393 of file template.php. References t3lib_div::fixed_lgd_cs(), and t3lib_iconWorks::getIconImage(). |
|
Creates a tab menu from an array definition Returns a tab menu for a module Requires the JS function jumpToUrl() to be available
Definition at line 1577 of file template.php. References t3lib_div::deHSCentities(), and t3lib_div::implodeArrayForUrl(). |
|
Creates the HTML content for the tab menu
Definition at line 1607 of file template.php. |
|
Creates the version selector for the page id inputted. Requires the core version management extension, "version" to be loaded.
Definition at line 1892 of file template.php. References t3lib_BEfunc::countVersionsOfRecordsOnPage(), t3lib_BEfunc::getRecord(), t3lib_BEfunc::getWorkspaceVersionOfRecord(), t3lib_extMgm::isLoaded(), t3lib_BEfunc::isPidInVersionizedBranch(), t3lib_div::linkThisScript(), and t3lib_BEfunc::selectVersionsOfRecord(). |
|
Returns the header-bar in the top of most backend modules Closes section if open.
Definition at line 720 of file template.php. |
|
Returns ' style='cursor:help;'' if the client supports CSS styles Use for -links to help texts
Definition at line 376 of file template.php. |
|
Returns an image-tag with an 18x16 icon of the following types: $type: -1: OK icon (Check-mark) 1: Notice (Speach-bubble) 2: Warning (Yellow triangle) 3: Fatal error (Red stop sign)
Definition at line 1001 of file template.php. |
|
Initialize the charset. Sets the internal $this->charset variable to the charset defined in $GLOBALS["LANG"] (or the default as set in this class) Returns the meta-tag for the document header
Definition at line 956 of file template.php. |
|
Insert post rendering document style into already rendered content This is needed for extobjbase
Definition at line 936 of file template.php. |
|
Returns true if click-menu layers can be displayed for the current user/browser Use this to test if click-menus (context sensitive menus) can and should be displayed in the backend.
Definition at line 356 of file template.php. |
|
Returns a URL with a command to TYPO3 Core Engine (tce_db.php) See description of the API elsewhere.
Definition at line 341 of file template.php. References t3lib_div::getIndpEnv(). |
|
Returns a linked shortcut-icon which will call the shortcut frame and set a shortcut there back to the calling page/module
Definition at line 434 of file template.php. References t3lib_div::getIndpEnv(). |
|
MAKE url for storing Internal func
Definition at line 467 of file template.php. References t3lib_div::_GET(), t3lib_div::compileSelectedGetVarsFromArray(), and t3lib_div::implodeArrayForUrl(). |
|
Constructs a table with content from the $arr1, $arr2 and $arr3. Used in eg. ext/belog/mod/index.php - refer to that for examples
Definition at line 1159 of file template.php. |
|
Originally it printed a kind of divider. Deprecated. Just remove function calls to it or call the divider() function instead.
Definition at line 858 of file template.php. |
|
Returns script parsetime IF ->parseTimeFlag is set and user is "admin" Automatically outputted in page end
Definition at line 571 of file template.php. References t3lib_div::getIndpEnv(). |
|
Returns JavaScript variables setting the returnUrl and thisScript location for use by JavaScript on the page. Used in fx. db_list.php (Web>List)
Definition at line 530 of file template.php. References t3lib_div::_GP(), and t3lib_div::linkThisScript(). |
|
red-fontwrap. Returns the string wrapped in a -tag defining the color to be red
Definition at line 1051 of file template.php. |
|
Begins an output section and sets header and content
Definition at line 741 of file template.php. |
|
Begins an output section. Returns the -begin tag AND sets the ->sectionFlag true (if the ->sectionFlag is not already set!) You can call this function even if a section is already begun since the function will only return something if the sectionFlag is not already set!
Definition at line 817 of file template.php. |
|
Ends and output section Returns the -end tag AND clears the ->sectionFlag (but does so only IF the sectionFlag is set - that is a section is 'open') See sectionBegin() also.
Definition at line 838 of file template.php. |
|
Make a section header. Begins a section if not already open.
Definition at line 800 of file template.php. |
|
Returns a blank -section with a height
Definition at line 781 of file template.php. |
|
Returns page start This includes the proper header with charset, title, meta tag and beginning body-tag.
Definition at line 604 of file template.php. |
|
Returns an <input> button with the $onClick action and $label
Definition at line 1030 of file template.php. |
|
Returns a table based on the input $arr
Definition at line 1117 of file template.php. |
|
Returns 'this.blur();' if the client supports CSS styles Use this in links to remove the underlining after being clicked
Definition at line 366 of file template.php. |
|
Makes link to page $id in frontend (view page) Returns an magnifier-glass icon which links to the frontend index.php document for viewing the page with id $id $id must be a page-uid If the BE_USER has access to Web>List then a link to that module is shown as well (with return-url)
Definition at line 315 of file template.php. References t3lib_div::getIndpEnv(). |
|
Makes click menu link (context sensitive menu) Returns $str (possibly an <|img> tag/icon) wrapped in a link which will activate the context sensitive menu for the record ($table/$uid) or file ($table = file) The link will load the top frame with the parameter "&item" which is the table,uid and listFr arguments imploded by "|": rawurlencode($table.'|'.$uid.'|'.$listFr)
Definition at line 298 of file template.php. References t3lib_div::shortMD5(). |
|
Returns string wrapped in CDATA "tags" for XML / XHTML (wrap content of <script> and <style> sections in those!)
Definition at line 1061 of file template.php. |
|
Wraps the input string in script tags. Automatic re-identing of the JS code is done by using the first line as ident reference. This is nice for identing JS code with PHP code on the same level.
Definition at line 1078 of file template.php. |
|
Initial value: Array ( 'defRow' => Array ( 'defCol' => Array('<td valign="top">','</td>') ) ) Definition at line 1101 of file template.php. |