|
ILIAS
release_8 Revision v8.24
|
Integrated Template - IT Well there's not much to say about it. More...
Inheritance diagram for HTML_Template_IT:
Collaboration diagram for HTML_Template_IT:Public Member Functions | |
| __construct (string $root='', array $options=null) | |
| Builds some complex regular expressions and optinally sets the file root directory. More... | |
| setOption (string $option, $value) | |
| Sets the option for the template class. More... | |
| setOptions (array $options) | |
| Sets the options for the template class. More... | |
| show (string $block=self::IT_DEFAULT_BLOCK) | |
| Print a certain block with all replacements done. More... | |
| get (string $block=self::IT_DEFAULT_BLOCK) | |
| Returns a block with all replacements done. More... | |
| parse (string $block=self::IT_DEFAULT_BLOCK, bool $flag_recursion=false) | |
| Parses the given block. More... | |
| parseCurrentBlock () | |
| Parses the current block. More... | |
| setVariable ($variable, $value='') | |
| Sets a variable value. More... | |
| setCurrentBlock (string $block=self::IT_DEFAULT_BLOCK) | |
| Sets the name of the current block that is the block where variables are added. More... | |
| touchBlock (string $block) | |
| Preserves an empty block even if removeEmptyBlocks is true. More... | |
| free () | |
| Clears all datafields of the object. More... | |
| setTemplate (string $template, bool $removeUnknownVariables=true, bool $removeEmptyBlocks=true) | |
| Sets the template. More... | |
| loadTemplatefile (string $filename, bool $removeUnknownVariables=true, bool $removeEmptyBlocks=true) | |
| Reads a template file from the disk. More... | |
| setRoot (string $root) | |
| Sets the file root. More... | |
| buildBlockvariablelist () | |
| Build a list of all variables within of a block. More... | |
| findBlocks (string $string) | |
| Recusively builds a list of all blocks within the template. More... | |
| getFile (string $filename) | |
| Reads a file from disk and returns its content. More... | |
| _addPregDelimiters (string $str) | |
| Adds delimiters to a string, so it can be used as a pattern in preg_* functions. More... | |
| _preserveOpeningDelimiter (string $str) | |
| Replaces an opening delimiter by a special string. More... | |
| errorMessage (int $value, string $blockname='') | |
| Return a textual error message for a IT error code. More... | |
Data Fields | |
| const | IT_OK = 1 |
| const | IT_ERROR = -1 |
| const | IT_TPL_NOT_FOUND = -2 |
| const | IT_BLOCK_NOT_FOUND = -3 |
| const | IT_BLOCK_DUPLICATE = -4 |
| const | IT_UNKNOWN_OPTION = -6 |
| const | IT_DEFAULT_BLOCK = '__global__' |
| array | $err = [] |
| Contains the error objects. More... | |
| bool | $clearCache = false |
| Clear cache on get()? More... | |
| string | $openingDelimiter = '{' |
| First character of a variable placeholder ( _{_VARIABLE} ). More... | |
| string | $closingDelimiter = '}' |
| Last character of a variable placeholder ( {VARIABLE_}_ ). More... | |
| string | $blocknameRegExp = '[\.0-9A-Za-z_-]+' |
| RegExp matching a block in the template. More... | |
| string | $variablenameRegExp = '[\.0-9A-Za-z_-]+' |
| RegExp matching a variable placeholder in the template. More... | |
| string | $variablesRegExp = '' |
| RegExp used to find variable placeholder, filled by the constructor. More... | |
| string | $removeVariablesRegExp = '' |
| RegExp used to strip unused variable placeholder. More... | |
| bool | $removeUnknownVariables = true |
| Controls the handling of unknown variables, default is remove. More... | |
| bool | $removeEmptyBlocks = true |
| Controls the handling of empty blocks, default is remove. More... | |
| string | $blockRegExp = '' |
| RegExp used to find blocks an their content, filled by the constructor. More... | |
| string | $currentBlock = self::IT_DEFAULT_BLOCK |
| Name of the current block. More... | |
| string | $template = '' |
| Content of the template. More... | |
| array | $blocklist = [] |
| Array of all blocks and their content. More... | |
| array | $blockdata = [] |
| Array with the parsed content of a block. More... | |
| array | $blockvariables = [] |
| Array of variables in a block. More... | |
| array | $blockparents = [] |
| Array of block parents. More... | |
| array | $blockinner = [] |
| Array of inner blocks of a block. More... | |
| array | $touchedBlocks = [] |
| List of blocks to preverse even if they are "empty". More... | |
| array | $variableCache = [] |
| Variable cache. More... | |
| bool | $clearCacheOnParse = false |
| Clear the variable cache on parse? If you're not an expert just leave the default false. More... | |
| string | $fileRoot = '' |
| Root directory for all file operations. More... | |
| bool | $flagBlocktrouble = false |
| Internal flag indicating that a blockname was used multiple times. More... | |
| bool | $flagGlobalParsed = false |
| Flag indicating that the global block was parsed. More... | |
| bool | $flagCacheTemplatefile = true |
| EXPERIMENTAL! FIXME! Flag indication that a template gets cached. More... | |
| string | $lastTemplatefile = '' |
| EXPERIMENTAL! FIXME! More... | |
| array | $_options |
| $_options['preserve_data'] Whether to substitute variables and remove empty placeholders in data passed through setVariable (see also bugs #20199, #21951). More... | |
Protected Member Functions | |
| init () | |
| Clears all datafields of the object and rebuild the internal blocklist LoadTemplatefile() and setTemplate() automatically call this function when a new template is given. More... | |
Protected Attributes | |
| string | $real_filename = '' |
| Holds the real template file name. More... | |
Integrated Template - IT Well there's not much to say about it.
I needed a template class that supports a single template file with multiple (nested) blocks inside and a simple block API. The Isotemplate API is somewhat tricky for a beginner although it is the best one you can build. template::parse() [phplib template = Isotemplate] requests you to name a source and a target where the current block gets parsed into. Source and target can be block names or even handler names. This API gives you a maximum of fexibility but you always have to know what you do which is quite unusual for php skripter like me. I noticed that I do not any control on which block gets parsed into which one. If all blocks are within one file, the script knows how they are nested and in which way you have to parse them. IT knows that inner1 is a child of block2, there's no need to tell him about this.
global (hidden and automatically added) | |||||
| block1 |
| ||||
To add content to block1 you simply type: $tpl->setCurrentBlock("block1"); and repeat this as often as needed: $tpl->setVariable(...); $tpl->parseCurrentBlock(); To add content to block2 you would type something like: $tpl->setCurrentBlock("inner1"); $tpl->setVariable(...); $tpl->parseCurrentBlock(); $tpl->setVariable(...); $tpl->parseCurrentBlock(); $tpl->parse("block1"); This will result in one repition of block1 which contains two repitions of inner1. inner2 will be removed if $removeEmptyBlock is set to true which is the default. Usage: $tpl = new HTML_Template_IT( [string filerootdir] ); // load a template or set it with setTemplate() $tpl->loadTemplatefile( string filename [, boolean removeUnknownVariables, boolean removeEmptyBlocks] ) // set "global" Variables meaning variables not beeing within a (inner) block $tpl->setVariable( string variablename, mixed value ); // like with the Isotemplates there's a second way to use setVariable() $tpl->setVariable( array ( string varname => mixed value ) ); // Let's use any block, even a deeply nested one $tpl->setCurrentBlock( string blockname ); // repeat this as often as you need it. $tpl->setVariable( array ( string varname => mixed value ) ); $tpl->parseCurrentBlock(); // get the parsed template or print it: $tpl->show() $tpl->get();
| HTML_Template_IT::__construct | ( | string | $root = '', |
| array | $options = null |
||
| ) |
Builds some complex regular expressions and optinally sets the file root directory.
Make sure that you call this constructor if you derive your template class from this one.
| string | $root | File root directory, prefix for all filenames given to the object. |
| string[] | $options | array of options. |
| ilTemplateException |
Definition at line 298 of file IT.php.
References setOptions(), and setRoot().
Here is the call graph for this function:| HTML_Template_IT::_addPregDelimiters | ( | string | $str | ) |
| HTML_Template_IT::_preserveOpeningDelimiter | ( | string | $str | ) |
Replaces an opening delimiter by a special string.
Definition at line 791 of file IT.php.
| HTML_Template_IT::buildBlockvariablelist | ( | ) |
Build a list of all variables within of a block.
Definition at line 686 of file IT.php.
References $name.
Referenced by ilTemplate\init(), init(), HTML_Template_ITX\init(), and HTML_Template_ITX\replaceBlock().
Here is the caller graph for this function:| HTML_Template_IT::errorMessage | ( | int | $value, |
| string | $blockname = '' |
||
| ) |
Return a textual error message for a IT error code.
Definition at line 806 of file IT.php.
Referenced by get(), parse(), setCurrentBlock(), setOption(), and touchBlock().
Here is the caller graph for this function:| HTML_Template_IT::findBlocks | ( | string | $string | ) |
Recusively builds a list of all blocks within the template.
| ilTemplateException |
Definition at line 705 of file IT.php.
References $name.
Referenced by HTML_Template_ITX\addBlock(), ilTemplate\init(), init(), HTML_Template_ITX\init(), and HTML_Template_ITX\replaceBlock().
Here is the caller graph for this function:| HTML_Template_IT::free | ( | ) |
Clears all datafields of the object.
Don't use this function unless you know what you're doing.
Definition at line 596 of file IT.php.
References IT_DEFAULT_BLOCK.
Referenced by ilTemplate\init(), init(), and HTML_Template_ITX\init().
Here is the caller graph for this function:| HTML_Template_IT::get | ( | string | $block = self::IT_DEFAULT_BLOCK | ) |
Returns a block with all replacements done.
| ilTemplateException |
Reimplemented in ilTemplate, and ilIndependantTemplate.
Definition at line 358 of file IT.php.
References errorMessage(), and parse().
Here is the call graph for this function:| HTML_Template_IT::getFile | ( | string | $filename | ) |
Reads a file from disk and returns its content.
| ilTemplateException |
Reimplemented in ilIndependantTemplate.
Definition at line 750 of file IT.php.
References $filename, ilGlobalCache\COMP_TEMPLATE, and ilGlobalCache\getInstance().
Referenced by HTML_Template_ITX\addBlockfile(), ilTemplate\addBlockFile(), and ilTemplate\loadTemplatefile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Clears all datafields of the object and rebuild the internal blocklist LoadTemplatefile() and setTemplate() automatically call this function when a new template is given.
Don't use this function unless you know what you're doing.
| ilTemplateException |
Reimplemented in ilTemplate, and HTML_Template_ITX.
Definition at line 564 of file IT.php.
References $blockdata, $blocklist, $blockvariables, buildBlockvariablelist(), ilGlobalCache\COMP_TPL_BLOCKS, ilGlobalCache\COMP_TPL_VARIABLES, findBlocks(), free(), ilGlobalCache\getInstance(), ilGlobalCache\log(), and ilGlobalCacheSettings\LOG_LEVEL_FORCED.
Here is the call graph for this function:| HTML_Template_IT::loadTemplatefile | ( | string | $filename, |
| bool | $removeUnknownVariables = true, |
||
| bool | $removeEmptyBlocks = true |
||
| ) |
Reads a template file from the disk.
| ilTemplateException |
Reimplemented in ilTemplate, and ilIndependantTemplate.
Definition at line 648 of file IT.php.
References $filename.
| HTML_Template_IT::parse | ( | string | $block = self::IT_DEFAULT_BLOCK, |
| bool | $flag_recursion = false |
||
| ) |
Parses the given block.
| string | name of the block to be parsed @access public |
| ilTemplateException |
Definition at line 394 of file IT.php.
References $closingDelimiter, $name, errorMessage(), and parse().
Referenced by get(), parse(), and parseCurrentBlock().
Here is the call graph for this function:
Here is the caller graph for this function:| HTML_Template_IT::parseCurrentBlock | ( | ) |
Parses the current block.
| ilTemplateException |
Definition at line 499 of file IT.php.
References parse().
Referenced by ilTemplate\touchBlock().
Here is the call graph for this function:
Here is the caller graph for this function:| HTML_Template_IT::setCurrentBlock | ( | string | $block = self::IT_DEFAULT_BLOCK | ) |
Sets the name of the current block that is the block where variables are added.
| ilTemplateException |
Reimplemented in ilTemplate.
Definition at line 531 of file IT.php.
References errorMessage().
Here is the call graph for this function:| HTML_Template_IT::setOption | ( | string | $option, |
| $value | |||
| ) |
Sets the option for the template class.
| mixed | $value |
| ilTemplateException |
Definition at line 321 of file IT.php.
References errorMessage(), and IT_OK.
Referenced by ilTemplate\__construct(), and setOptions().
Here is the call graph for this function:
Here is the caller graph for this function:| HTML_Template_IT::setOptions | ( | array | $options | ) |
Sets the options for the template class.
| string[] | $options |
| ilTemplateException |
Definition at line 336 of file IT.php.
References IT_OK, and setOption().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| HTML_Template_IT::setRoot | ( | string | $root | ) |
Sets the file root.
The file root gets prefixed to all filenames passed to the object. Make sure that you override this function when using the class on windows.
Definition at line 674 of file IT.php.
Referenced by __construct().
Here is the caller graph for this function:| HTML_Template_IT::setTemplate | ( | string | $template, |
| bool | $removeUnknownVariables = true, |
||
| bool | $removeEmptyBlocks = true |
||
| ) |
Sets the template.
You can eighter load a template file from disk with LoadTemplatefile() or set the template manually using this function.
| ilTemplateException |
Definition at line 616 of file IT.php.
References IT_DEFAULT_BLOCK.
| HTML_Template_IT::setVariable | ( | $variable, | |
$value = '' |
|||
| ) |
Sets a variable value.
The function can be used eighter like setVariable( "varname", "value") or with one array $variables["varname"] = "value" given setVariable($variables) quite like phplib templates set_var().
| string | array | $variable | string with the variable name or an array variables["varname"] = "value" |
| mixed | $value | value of the variable or empty if $variable is an array. |
Definition at line 514 of file IT.php.
Referenced by ilContainerGUI\addHeaderRow(), ilMiniCalendarGUI\addMiniMonth(), ilCalendarBlockGUI\addMiniMonth(), ilContainerRenderer\addStandardRow(), ilCalendarBlockGUI\addSubscriptionButton(), ilTestScoringByQuestionsGUI\appendFormToModal(), ilTestScoringByQuestionsGUI\appendQuestionTitleToModal(), ilTestScoringByQuestionsGUI\appendUserNameToModal(), ilRecurrenceInputGUI\buildMonthlyByDaySelection(), ilRecurrenceInputGUI\buildUntilSelection(), ilRecurrenceInputGUI\buildWeekDaySelection(), ilStudyProgrammeExpandableProgressListGUI\fillTemplate(), ilStudyProgrammeProgressListGUI\fillTemplate(), ilTemplate\fillVars(), ilSearchRootSelector\formatHeader(), ilECSNodeMappingCmsExplorer\formatHeader(), ilECSNodeMappingLocalExplorer\formatHeader(), ilPasteIntoMultipleItemsExplorer\formatHeader(), ilCalendarViewGUI\getContentByPlugins(), ilAbstractLearningHistoryProvider\getEmphasizedTitle(), ilAsyncPropertyFormGUI\getErrorMessageTemplate(), ilWikiFunctionsBlockGUI\getLegacyContent(), ilCalendarSelectionBlockGUI\getLegacyContent(), ilRepositoryObjectSearchBlockGUI\getLegacyContent(), ilSCORMExplorer\getOutputIcons(), assLongMenuGUI\getSolutionOutput(), ilObjSurveyGUI\getUserResultsTable(), ilOrgUnitGenericMultiInputGUI\insert(), ilScheduleInputGUI\insert(), ilChatroomAuthInputGUI\insert(), ilDclGenericMultiInputGUI\insert(), ilGloAdvColSortInputGUI\insert(), ilOrgUnitAuthorityInputGUI\insert(), ilOrgUnitMultiLineInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilErrorTextWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilImageWizardInputGUI\insert(), ilKVPWizardInputGUI\insert(), ilMatchingPairWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilAssAnswerCorrectionsInputGUI\insert(), ilAssClozeTestCombinationVariantsInputGUI\insert(), ilAssErrorTextCorrectionsInputGUI\insert(), ilAssLongmenuCorrectionsInputGUI\insert(), ilAssMatchingPairCorrectionsInputGUI\insert(), ilAssMultipleChoiceCorrectionsInputGUI\insert(), ilAssSingleChoiceCorrectionsInputGUI\insert(), ilImagemapCorrectionsInputGUI\insert(), ilImagemapFileInputGUI\insert(), ilRecurrenceInputGUI\insert(), ilAdvSelectInputGUI\insert(), ilCheckboxGroupInputGUI\insert(), ilCheckboxInputGUI\insert(), ilColorPickerInputGUI\insert(), ilCombinationInputGUI\insert(), ilCSSRectInputGUI\insert(), ilCustomInputGUI\insert(), ilDateDurationInputGUI\insert(), ilDateTimeInputGUI\insert(), ilDurationInputGUI\insert(), ilEMailInputGUI\insert(), ilFileInputGUI\insert(), ilFileWizardInputGUI\insert(), ilFormSectionHeaderGUI\insert(), ilHiddenInputGUI\insert(), ilImageFileInputGUI\insert(), ilLinkInputGUI\insert(), ilLocationInputGUI\insert(), ilMultiSelectInputGUI\insert(), ilNestedListInputGUI\insert(), ilNonEditableValueGUI\insert(), ilNumberInputGUI\insert(), ilPasswordInputGUI\insert(), ilRadioGroupInputGUI\insert(), ilRepositorySelectorInputGUI\insert(), ilSelectBuilderInputGUI\insert(), ilSelectInputGUI\insert(), ilTextAreaInputGUI\insert(), ilTextInputGUI\insert(), ilTextWizardInputGUI\insert(), ilUserLoginInputGUI\insert(), ilMailFormAttachmentPropertyGUI\insert(), ilManualPlaceholderInputGUI\insert(), ilWidthHeightInputGUI\insert(), ilTypicalLearningTimeInputGUI\insert(), ilBackgroundImageInputGUI\insert(), ilBackgroundPositionInputGUI\insert(), ilFontSizeInputGUI\insert(), ilNumericStyleValueInputGUI\insert(), ilTRBLBorderStyleInputGUI\insert(), ilTRBLBorderWidthInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilTRBLNumericStyleValueInputGUI\insert(), ilExplorerSelectInputGUI\insert(), ilClozeGapInputBuilderGUI\insert(), ilPCParagraphGUI\insertHelp(), ilSurveyExecutionGUI\outNavigationButtons(), ilFileInputGUI\outputSuffixes(), SurveyQuestionGUI\outQuestionText(), ilTestServiceGUI\populateExamId(), ilAssQuestionPreviewGUI\populateSolutionOutput(), ilHierarchyFormGUI\renderChild(), ilPreviewGUI\renderCommand(), ilContainerRenderer\renderDetails(), ilContainerRenderer\renderHelperGeneric(), ilCalendarSelectionBlockGUI\renderItem(), ilChatroomViewGUI\renderLanguageVariables(), ilSurveyPageEditGUI\renderPageNode(), ilAssLacLegendGUI\renderQuestSpecificLegendPart(), ilChatroomViewGUI\renderRightUsersBlock(), ilContainerRenderer\renderSelectAllBlock(), ilChatroomViewGUI\renderSendMessageBox(), ilNewsForContextBlockGUI\showFeedUrl(), ilPDNewsBlockGUI\showFeedUrl(), ilInfoScreenGUI\showLearningProgress(), ilContainerSessionsContentGUI\showMaterials(), and ilNewsForContextBlockGUI\showNews().
Here is the caller graph for this function:| HTML_Template_IT::show | ( | string | $block = self::IT_DEFAULT_BLOCK | ) |
Print a certain block with all replacements done.
| ilTemplateException |
Definition at line 349 of file IT.php.
| HTML_Template_IT::touchBlock | ( | string | $block | ) |
Preserves an empty block even if removeEmptyBlocks is true.
| ilTemplateException |
Reimplemented in ilTemplate.
Definition at line 546 of file IT.php.
References errorMessage().
Here is the call graph for this function:| array HTML_Template_IT::$_options |
$_options['preserve_data'] Whether to substitute variables and remove empty placeholders in data passed through setVariable (see also bugs #20199, #21951).
$_options['use_preg'] Whether to use preg_replace instead of str_replace in parse() (this is a backwards compatibility feature, see also bugs #21951, #20392)
| array HTML_Template_IT::$blockdata = [] |
Array with the parsed content of a block.
Definition at line 185 of file IT.php.
Referenced by ilTemplate\init(), init(), and HTML_Template_ITX\replaceBlock().
| array HTML_Template_IT::$blockinner = [] |
Array of inner blocks of a block.
Definition at line 200 of file IT.php.
Referenced by ilTemplate\init().
| array HTML_Template_IT::$blocklist = [] |
Array of all blocks and their content.
Definition at line 180 of file IT.php.
Referenced by ilTemplate\init(), and init().
| string HTML_Template_IT::$blocknameRegExp = '[\.0-9A-Za-z_-]+' |
| array HTML_Template_IT::$blockparents = [] |
| string HTML_Template_IT::$blockRegExp = '' |
| array HTML_Template_IT::$blockvariables = [] |
Array of variables in a block.
Definition at line 190 of file IT.php.
Referenced by ilTemplate\init(), and init().
| bool HTML_Template_IT::$clearCache = false |
| bool HTML_Template_IT::$clearCacheOnParse = false |
| string HTML_Template_IT::$closingDelimiter = '}' |
Last character of a variable placeholder ( {VARIABLE_}_ ).
Definition at line 125 of file IT.php.
Referenced by HTML_Template_ITX\buildFunctionlist(), and parse().
| string HTML_Template_IT::$currentBlock = self::IT_DEFAULT_BLOCK |
| array HTML_Template_IT::$err = [] |
| string HTML_Template_IT::$fileRoot = '' |
| bool HTML_Template_IT::$flagBlocktrouble = false |
Internal flag indicating that a blockname was used multiple times.
Definition at line 248 of file IT.php.
Referenced by ilTemplate\init().
| bool HTML_Template_IT::$flagCacheTemplatefile = true |
EXPERIMENTAL! FIXME! Flag indication that a template gets cached.
Complex templates require some times to be preparsed before the replacement can take place. Often I use one template file over and over again but I don't know before that I will use the same template file again. Now IT could notice this and skip the preparse.
| bool HTML_Template_IT::$flagGlobalParsed = false |
| string HTML_Template_IT::$lastTemplatefile = '' |
| string HTML_Template_IT::$openingDelimiter = '{' |
|
protected |
| bool HTML_Template_IT::$removeEmptyBlocks = true |
| bool HTML_Template_IT::$removeUnknownVariables = true |
| string HTML_Template_IT::$removeVariablesRegExp = '' |
| string HTML_Template_IT::$template = '' |
Content of the template.
Definition at line 175 of file IT.php.
Referenced by HTML_Template_ITX\addBlock(), ilTemplate\addBlockFile(), HTML_Template_ITX\buildFunctionlist(), ilTemplate\loadTemplatefile(), and HTML_Template_ITX\replaceBlock().
| array HTML_Template_IT::$touchedBlocks = [] |
List of blocks to preverse even if they are "empty".
This is something special. Sometimes you have blocks that should be preserved although they are empty (no placeholder replaced). Think of a shopping basket. If it's empty you have to drop a message to the user. If it's filled you have to show the contents of the shopping baseket. Now where do you place the message that the basket is empty? It's no good idea to place it in you applications as customers tend to like unecessary minor text changes. Having another template file for an empty basket means that it's very likely that one fine day the filled and empty basket templates have different layout. I decided to introduce blocks that to not contain any placeholder but only text such as the message "Your shopping basked is empty". Now if there is no replacement done in such a block the block will be recognized as "empty" and by default ($removeEmptyBlocks = true) be stripped off. To avoid thisyou can now call touchBlock() to avoid this. The array $touchedBlocks stores a list of touched block which must not be removed even if they are empty.
| array HTML_Template_IT::$variableCache = [] |
| string HTML_Template_IT::$variablenameRegExp = '[\.0-9A-Za-z_-]+' |
| string HTML_Template_IT::$variablesRegExp = '' |
| const HTML_Template_IT::IT_DEFAULT_BLOCK = '__global__' |
Definition at line 105 of file IT.php.
Referenced by ilTemplate\__construct(), free(), ilTemplate\getUnmodified(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and setTemplate().
| const HTML_Template_IT::IT_OK = 1 |
Definition at line 99 of file IT.php.
Referenced by setOption(), and setOptions().