ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
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