Definition at line 29 of file HeaderName.php.
◆ assertValid()
static assertValid |
( |
|
$name | ) |
|
|
static |
Assert that the header name is valid.
Raises an exception if invalid.
- Parameters
-
- Exceptions
-
Definition at line 85 of file HeaderName.php.
87 if (! self::isValid(
$name)) {
88 #require_once 'Zend/Mail/Exception.php';
if(!isset($_GET['name'])) $name
◆ filter()
◆ isValid()
Determine if the header name contains any invalid characters.
- Parameters
-
- Returns
- bool
Definition at line 64 of file HeaderName.php.
67 for (
$i = 0;
$i < $tot;
$i += 1) {
69 if ($ord < 33 || $ord > 126 || $ord === 58) {
if(!isset($_GET['name'])) $name
The documentation for this class was generated from the following file: