
Public Member Functions | |
| setRootElement ($rootElement) | |
| |
| getRootElement () | |
| setInline ($isInline) | |
| |
| isInline () | |
| setPublic ($isPublic) | |
| |
| isPublic () | |
| isSystem () | |
| setDeclarations ($declarations) | |
| |
| getDeclarations () | |
| setFpi ($fpi) | |
| |
| getFpi () | |
| setUri ($uri) | |
| |
| getUri () | |
| parse ($string) | |
| |
| toString () | |
Static Public Member Functions | |
| static | create () |
| |
Public Attributes | |
| const | SPACER_MASK = '[ \r\n\t]' |
| const | ID_FIRST_CHAR_MASK = '[A-Za-z]' |
| const | ID_CHAR_MASK = '[-_:.A-Za-z0-9]' |
Protected Attributes | |
| $fpi = null | |
Private Attributes | |
| $rootElement = null | |
| $inline = false | |
| $declarations = null | |
| $public = false | |
| $uri = null | |
System DTD: <!DOCTYPE greeting SYSTEM "hello.dtd">
Public DTD: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> or <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
Definition at line 30 of file DoctypeDeclaration.class.php.
| static DoctypeDeclaration::create | ( | ) | [static] |
Reimplemented in CommonDoctypeDeclaration.
Definition at line 50 of file DoctypeDeclaration.class.php.
| DoctypeDeclaration::setRootElement | ( | $ | rootElement | ) |
Definition at line 58 of file DoctypeDeclaration.class.php.
References $rootElement.
| DoctypeDeclaration::getRootElement | ( | ) |
Definition at line 65 of file DoctypeDeclaration.class.php.
| DoctypeDeclaration::setInline | ( | $ | isInline | ) |
| DoctypeDeclaration::isInline | ( | ) |
Definition at line 83 of file DoctypeDeclaration.class.php.
| DoctypeDeclaration::setPublic | ( | $ | isPublic | ) |
| DoctypeDeclaration::isPublic | ( | ) |
Definition at line 101 of file DoctypeDeclaration.class.php.
| DoctypeDeclaration::isSystem | ( | ) |
Definition at line 106 of file DoctypeDeclaration.class.php.
| DoctypeDeclaration::setDeclarations | ( | $ | declarations | ) |
Definition at line 114 of file DoctypeDeclaration.class.php.
References $declarations.
| DoctypeDeclaration::getDeclarations | ( | ) |
Definition at line 121 of file DoctypeDeclaration.class.php.
| DoctypeDeclaration::setFpi | ( | $ | fpi | ) |
Reimplemented in CommonDoctypeDeclaration.
Definition at line 129 of file DoctypeDeclaration.class.php.
References $fpi.
Referenced by parse().
| DoctypeDeclaration::getFpi | ( | ) |
Reimplemented in CommonDoctypeDeclaration.
Definition at line 136 of file DoctypeDeclaration.class.php.
| DoctypeDeclaration::setUri | ( | $ | uri | ) |
Definition at line 144 of file DoctypeDeclaration.class.php.
References $uri.
| DoctypeDeclaration::getUri | ( | ) |
Definition at line 151 of file DoctypeDeclaration.class.php.
| DoctypeDeclaration::parse | ( | $ | string | ) |
sample argument: html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
Definition at line 161 of file DoctypeDeclaration.class.php.
References setFpi().

| DoctypeDeclaration::toString | ( | ) |
Definition at line 222 of file DoctypeDeclaration.class.php.
| const DoctypeDeclaration::SPACER_MASK = '[ \r\n\t]' |
Definition at line 32 of file DoctypeDeclaration.class.php.
| const DoctypeDeclaration::ID_FIRST_CHAR_MASK = '[A-Za-z]' |
Definition at line 33 of file DoctypeDeclaration.class.php.
| const DoctypeDeclaration::ID_CHAR_MASK = '[-_:.A-Za-z0-9]' |
Definition at line 34 of file DoctypeDeclaration.class.php.
DoctypeDeclaration::$fpi = null [protected] |
Definition at line 36 of file DoctypeDeclaration.class.php.
Referenced by setFpi(), and CommonDoctypeDeclaration::setFpi().
DoctypeDeclaration::$rootElement = null [private] |
DoctypeDeclaration::$inline = false [private] |
Definition at line 40 of file DoctypeDeclaration.class.php.
DoctypeDeclaration::$declarations = null [private] |
DoctypeDeclaration::$public = false [private] |
Definition at line 43 of file DoctypeDeclaration.class.php.
DoctypeDeclaration::$uri = null [private] |
1.5.4