CommonDoctypeDeclaration Class Reference
[Various accompanying utilities]

Parses common doctype FPI (Formal Public Identifier) in form: "-//<Org>//DTD <Type> [<Subtype>] [<Version>] [<Variant>]//<Language>". More...

Inheritance diagram for CommonDoctypeDeclaration:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 setOrganization ($organization)
 
Returns:
CommonDoctypeDeclaration

 getOrganization ()
 setType ($type)
 
Returns:
CommonDoctypeDeclaration

 getType ()
 setSubtype ($subtype)
 
Returns:
CommonDoctypeDeclaration

 getSubtype ()
 setVersion ($version)
 
Returns:
CommonDoctypeDeclaration

 getVersion ()
 setVariant ($variant)
 
Returns:
CommonDoctypeDeclaration

 getVariant ()
 setLanguage ($language)
 
Returns:
CommonDoctypeDeclaration

 getLanguage ()
 setFpi ($fpi)
 
Returns:
CommonDoctypeDeclaration

 getFpi ()

Static Public Member Functions

static create ()
 
Returns:
CommonDoctypeDeclaration


Private Attributes

 $organization = null
 $type = null
 $subtype = null
 $version = null
 $variant = null
 $language = null


Detailed Description

Parses common doctype FPI (Formal Public Identifier) in form: "-//<Org>//DTD <Type> [<Subtype>] [<Version>] [<Variant>]//<Language>".

Examples: -//W3C//DTD HTML//EN -//W3C//DTD XHTML Basic 1.0//EN -//W3C//DTD HTML 4.01 Transitional//EN

Definition at line 24 of file CommonDoctypeDeclaration.class.php.


Member Function Documentation

static CommonDoctypeDeclaration::create (  )  [static]

Returns:
CommonDoctypeDeclaration

Reimplemented from DoctypeDeclaration.

Definition at line 37 of file CommonDoctypeDeclaration.class.php.

CommonDoctypeDeclaration::setOrganization ( organization  ) 

Returns:
CommonDoctypeDeclaration

Definition at line 45 of file CommonDoctypeDeclaration.class.php.

References $organization.

CommonDoctypeDeclaration::getOrganization (  ) 

Definition at line 52 of file CommonDoctypeDeclaration.class.php.

CommonDoctypeDeclaration::setType ( type  ) 

Returns:
CommonDoctypeDeclaration

Definition at line 60 of file CommonDoctypeDeclaration.class.php.

References $type.

CommonDoctypeDeclaration::getType (  ) 

Definition at line 67 of file CommonDoctypeDeclaration.class.php.

CommonDoctypeDeclaration::setSubtype ( subtype  ) 

Returns:
CommonDoctypeDeclaration

Definition at line 75 of file CommonDoctypeDeclaration.class.php.

References $subtype.

CommonDoctypeDeclaration::getSubtype (  ) 

Definition at line 82 of file CommonDoctypeDeclaration.class.php.

CommonDoctypeDeclaration::setVersion ( version  ) 

Returns:
CommonDoctypeDeclaration

Definition at line 90 of file CommonDoctypeDeclaration.class.php.

References $version.

CommonDoctypeDeclaration::getVersion (  ) 

Definition at line 97 of file CommonDoctypeDeclaration.class.php.

CommonDoctypeDeclaration::setVariant ( variant  ) 

Returns:
CommonDoctypeDeclaration

Definition at line 105 of file CommonDoctypeDeclaration.class.php.

References $variant.

CommonDoctypeDeclaration::getVariant (  ) 

Definition at line 112 of file CommonDoctypeDeclaration.class.php.

CommonDoctypeDeclaration::setLanguage ( language  ) 

Returns:
CommonDoctypeDeclaration

Definition at line 120 of file CommonDoctypeDeclaration.class.php.

References $language.

CommonDoctypeDeclaration::getLanguage (  ) 

Definition at line 127 of file CommonDoctypeDeclaration.class.php.

CommonDoctypeDeclaration::setFpi ( fpi  ) 

Returns:
CommonDoctypeDeclaration

Reimplemented from DoctypeDeclaration.

Definition at line 135 of file CommonDoctypeDeclaration.class.php.

References DoctypeDeclaration::$fpi.

CommonDoctypeDeclaration::getFpi (  ) 

Reimplemented from DoctypeDeclaration.

Definition at line 158 of file CommonDoctypeDeclaration.class.php.


Member Data Documentation

CommonDoctypeDeclaration::$organization = null [private]

Definition at line 26 of file CommonDoctypeDeclaration.class.php.

Referenced by setOrganization().

CommonDoctypeDeclaration::$type = null [private]

Definition at line 28 of file CommonDoctypeDeclaration.class.php.

Referenced by setType().

CommonDoctypeDeclaration::$subtype = null [private]

Definition at line 29 of file CommonDoctypeDeclaration.class.php.

Referenced by setSubtype().

CommonDoctypeDeclaration::$version = null [private]

Definition at line 30 of file CommonDoctypeDeclaration.class.php.

Referenced by setVersion().

CommonDoctypeDeclaration::$variant = null [private]

Definition at line 31 of file CommonDoctypeDeclaration.class.php.

Referenced by setVariant().

CommonDoctypeDeclaration::$language = null [private]

Definition at line 32 of file CommonDoctypeDeclaration.class.php.

Referenced by setLanguage().


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:06 2007 for onPHP by  doxygen 1.5.4