ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Text.php
Go to the documentation of this file.
1<?php
2
7{
8
15 public function validate($string, $config, $context)
16 {
17 return $this->parseCDATA($string);
18 }
19}
20
21// vim: et sw=4 sts=4
An exception for terminatinating execution or to throw for unit testing.
Validates arbitrary text according to the HTML spec.
Definition: Text.php:7
validate($string, $config, $context)
Definition: Text.php:15
Base class for all validating attribute definitions.
Definition: AttrDef.php:14
parseCDATA($string)
Convenience method that parses a string as if it were CDATA.
Definition: AttrDef.php:60