Class PhpiCalLib_DataTypes_Text

Description

The text data type.

         text       = *(TSAFE-CHAR / ":" / DQUOTE / ESCAPED-CHAR)
           ; Folded according to description above

        ESCAPED-CHAR = ("\\" / "\;" / "\," / "\N" / "\n")
           ; \\ encodes \, \N or \n encodes newline
           ; \; encodes ;, \, encodes ,

        TSAFE-CHAR = %x20-21 / %x23-2B / %x2D-39 / %x3C-5B /
                     %x5D-7E / NON-US-ASCII
           ; Any character except CTLs not needed by the current
           ; character set, DQUOTE, ";", ":", "\", ","

Located in /datatypes.php (line 686)

PhpiCalLib_DataType
   |
   --PhpiCalLib_DataTypes_Text
Method Summary
PhpiCalLib_DataTypes_Text __construct ()
string GetValue ()
void Parse (string $EncodedString)
void SetValue (string $Text)
string ToString ()
Variables
Methods
Constructor __construct (line 698)

Constructor

  • access: public
PhpiCalLib_DataTypes_Text __construct ()
GetValue (line 741)

Access the unescaped text value

  • access: public
string GetValue ()
Parse (line 750)

Extract the text value from the encoded string

  • access: public
void Parse (string $EncodedString)
  • string $EncodedString
SetValue (line 707)

Set the value

  • access: public
void SetValue (string $Text)
  • string $Text
ToString (line 776)

Convert to an encoded string

  • access: public
string ToString ()

Inherited Methods

Inherited From PhpiCalLib_DataType

PhpiCalLib_DataType::FromDataType()
PhpiCalLib_DataType::ToDataType()

Documentation generated on Tue, 01 Apr 2008 00:20:10 +0100 by phpDocumentor 1.4.0