ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
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:60
Validates arbitrary text according to the HTML spec.
Definition: Text.php:6
validate($string, $config, $context)
Definition: Text.php:15