'parsedinclude',
'phpinclude',
'set',
- 'skinfile'
+ 'skinfile',
+ 'text'
);
/**
}
/**
+ * Actions::parse_text()
+ * Parse text
+ *
+ * @param string $constant named constant
+ * @return void
+ */
+ public function parse_text($constant)
+ {
+ if ( !defined($constant) )
+ {
+ echo Entity::hsc($constant);
+ }
+ else
+ {
+ echo Entity::hsc(constant($constant));
+ }
+ return;
+ }
+
+ /**
* BaseActions::addIfCondition()
* Helper function: add if condition
*