ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Implementation of an include filter pattern for didactic template actions. More...
Public Member Functions | |
__construct ($a_pattern_id=0) | |
Constructor. More... | |
valid ($a_source) | |
Check if patttern matches. More... | |
toXml (ilXmlWriter $writer) | |
Write xml. More... | |
Public Member Functions inherited from ilDidacticTemplateFilterPattern | |
__construct ($a_pattern_id=0) | |
Constructor. More... | |
setPatternId ($a_id) | |
set pattern id More... | |
getPatternId () | |
Get pattern id. More... | |
setParentId ($a_id) | |
Set parent id. More... | |
getParentId () | |
Get parent id. More... | |
setParentType ($a_type) | |
Set parent type. More... | |
getParentType () | |
Get parent type. More... | |
setPatternType ($a_type) | |
Set pattern type. More... | |
getPatterType () | |
Get pattern type. More... | |
setPatternSubType ($a_subtype) | |
Set pattern sub type. More... | |
getPatternSubType () | |
Get pattern sub type. More... | |
setPattern ($a_pattern) | |
Set pattern. More... | |
getPattern () | |
Get pattern. More... | |
valid ($a_source) | |
Check if pattern matches. More... | |
toXml (ilXmlWriter $writer) | |
Get xml representation of pattern. More... | |
update () | |
Update pattern definition. More... | |
save () | |
Create new pattern ilDB $ilDB. More... | |
delete () | |
Delete pattern ilDB $ilDB. More... | |
__clone () | |
Magic clone method. More... | |
Additional Inherited Members | |
Data Fields inherited from ilDidacticTemplateFilterPattern | |
const | PATTERN_INCLUDE = 1 |
const | PATTERN_EXCLUDE = 2 |
const | PATTERN_SUBTYPE_REGEX = 1 |
Protected Member Functions inherited from ilDidacticTemplateFilterPattern | |
read () | |
Read pattern definition from db. More... | |
Implementation of an include filter pattern for didactic template actions.
Definition at line 13 of file class.ilDidacticTemplateIncludeFilterPattern.php.
ilDidacticTemplateIncludeFilterPattern::__construct | ( | $a_pattern_id = 0 | ) |
Constructor.
int | $a_pattern_id |
Definition at line 20 of file class.ilDidacticTemplateIncludeFilterPattern.php.
References ilDidacticTemplateFilterPattern\setPatternType().
ilDidacticTemplateIncludeFilterPattern::toXml | ( | ilXmlWriter | $writer | ) |
Write xml.
ilXmlWriter | $writer |
Definition at line 46 of file class.ilDidacticTemplateIncludeFilterPattern.php.
References array, ilDidacticTemplateFilterPattern\getPattern(), ilDidacticTemplateFilterPattern\getPatternSubType(), ilDidacticTemplateFilterPattern\PATTERN_SUBTYPE_REGEX, and ilXmlWriter\xmlElement().
ilDidacticTemplateIncludeFilterPattern::valid | ( | $a_source | ) |
Check if patttern matches.
Definition at line 29 of file class.ilDidacticTemplateIncludeFilterPattern.php.
References ilLoggerFactory\getLogger(), ilDidacticTemplateFilterPattern\getPattern(), and ilDidacticTemplateFilterPattern\getPatternSubType().