|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| tableRow ($label, $data, $field) | |
| procesResources ($resources, $func=false) | |
| resourceListForCopy ($id, $template_uid) | |
| initialize_editor ($pageId, $template_uid=0) | |
| processTemplateRowAfterLoading (array $tplRow) | |
| processTemplateRowBeforeSaving (array $tplRow) | |
| main () | |
Public Attributes | |
| $tce_processed = false | |
This class displays the Info/Modify screen of the Web > Template module
Definition at line 53 of file class.tx_tstemplateinfo.php.
| tx_tstemplateinfo::initialize_editor | ( | $ | pageId, |
| $ | template_uid = 0 |
||
| ) |
Create an instance of t3lib_tsparser_ext in $GLOBALS['tmpl'] and looks for the first (visible) template record. If $template_uid was given and greater than zero, this record will be checked.
| integer | $id,: | The uid of the current page |
| integer | $template_uid,: | The uid of the template record to be rendered (only if more than one template on the current page) |
Definition at line 146 of file class.tx_tstemplateinfo.php.
References t3lib_div\makeInstance(), and processTemplateRowAfterLoading().
Referenced by main().
| tx_tstemplateinfo::main | ( | ) |
The main processing method if this class
Definition at line 199 of file class.tx_tstemplateinfo.php.
References $BACK_PATH, $BE_USER, $CLIENT, $GLOBALS, $SOBE, $TCA, $TYPO3_CONF_VARS, t3lib_div\_GP(), t3lib_div\_POST(), t3lib_div\callUserFunction(), t3lib_BEfunc\editOnClick(), t3lib_div\formatForTextarea(), t3lib_div\formatSize(), t3lib_div\getFileAbsFileName(), t3lib_BEfunc\getFuncCheck(), t3lib_iconWorks\getSpriteIcon(), t3lib_iconWorks\getSpriteIconForRecord(), initialize_editor(), t3lib_div\inList(), t3lib_extMgm\isLoaded(), t3lib_div\loadTCA(), t3lib_div\makeInstance(), procesResources(), processTemplateRowBeforeSaving(), t3lib_utility_Http\redirect(), resourceListForCopy(), t3lib_div\split_fileref(), tableRow(), t3lib_div\tempnam(), t3lib_div\testInt(), t3lib_div\trimExplode(), t3lib_div\unlink_tempfile(), t3lib_div\upload_to_tempfile(), and t3lib_div\writeFile().
| tx_tstemplateinfo::procesResources | ( | $ | resources, |
| $ | func = false |
||
| ) |
Renders HTML table with available template resources/files
| string | $resources,: | List of resources/files to be shown (e.g. 'file_01.txt,file.txt') |
| boolean | $func,: | Whether to render functions like 'to top' or 'delete' for each resource (default: false) |
Definition at line 80 of file class.tx_tstemplateinfo.php.
References $GLOBALS, t3lib_div\formatSize(), t3lib_iconWorks\getSpriteIcon(), t3lib_div\inList(), t3lib_div\split_fileref(), t3lib_BEfunc\thumbCode(), and t3lib_div\trimExplode().
Referenced by main().
| tx_tstemplateinfo::processTemplateRowAfterLoading | ( | array $ | tplRow | ) |
Process template row after loading
| array | $tplRow,: | template row |
Definition at line 170 of file class.tx_tstemplateinfo.php.
References t3lib_TSparser\checkIncludeLines().
Referenced by initialize_editor().
| tx_tstemplateinfo::processTemplateRowBeforeSaving | ( | array $ | tplRow | ) |
Process template row before saving
| array | $tplRow,: | template row |
Definition at line 187 of file class.tx_tstemplateinfo.php.
References t3lib_TSparser\extractIncludes_array().
Referenced by main().
| tx_tstemplateinfo::resourceListForCopy | ( | $ | id, |
| $ | template_uid | ||
| ) |
Renders HTML table with all available template resources/files in the current rootline that could be copied
| integer | $id,: | The uid of the current page |
| integer | $template_uid,: | The uid of the template record to be rendered (only if more than one template on the current page) |
Definition at line 120 of file class.tx_tstemplateinfo.php.
References $GLOBALS, t3lib_div\formatSize(), t3lib_div\inList(), t3lib_div\makeInstance(), t3lib_BEfunc\thumbCode(), and t3lib_div\trimExplode().
Referenced by main().
| tx_tstemplateinfo::tableRow | ( | $ | label, |
| $ | data, | ||
| $ | field | ||
| ) |
Creates a row for a HTML table
| string | $label,: | The label to be shown (e.g. 'Title:', 'Sitetitle:') |
| string | $data,: | The data/information to be shown (e.g. 'Template for my site') |
| string | $field,: | The field/variable to be sent on clicking the edit icon (e.g. 'title', 'sitetitle') |
Definition at line 65 of file class.tx_tstemplateinfo.php.
References $GLOBALS, and t3lib_iconWorks\getSpriteIcon().
Referenced by main().
| tx_tstemplateinfo::$tce_processed = false |
Definition at line 55 of file class.tx_tstemplateinfo.php.
1.7.5.1