ILIAS  release_4-4 Revision
Text.php
Go to the documentation of this file.
1 <?php
2 
7 {
8 
9  public function validate($string, $config, $context) {
10  return $this->parseCDATA($string);
11  }
12 
13 }
14 
15 // vim: et sw=4 sts=4
Base class for all validating attribute definitions.
Definition: AttrDef.php:13
parseCDATA($string)
Convenience method that parses a string as if it were CDATA.
Definition: AttrDef.php:58
Validates arbitrary text according to the HTML spec.
Definition: Text.php:6
validate($string, $config, $context)
Definition: Text.php:9