eZ Publish  [4.2]
eZTextInputParser Class Reference

List of all members.

Public Member Functions

 eZTextInputParser ()
 parseText ($text)

Public Attributes

 $BreakTags = array()
 The tags that break the paragraph.
 $InlineTags = array( "emphasize", "strong" )
 The tags that don't break the text.
 $TagStack = array()
 Contains the tags found.
const CHUNK_TAG = 2
const CHUNK_TEXT = 1

Detailed Description

Definition at line 36 of file eztextinputparser.php.


Member Function Documentation

eZTextInputParser::eZTextInputParser ( )

Definition at line 44 of file eztextinputparser.php.

eZTextInputParser::parseText ( text)

Will parse the input text and create an array of the input. False will be returned if the parsing

Definition at line 53 of file eztextinputparser.php.


Member Data Documentation

eZTextInputParser::$BreakTags = array()

The tags that break the paragraph.

Definition at line 129 of file eztextinputparser.php.

eZTextInputParser::$InlineTags = array( "emphasize", "strong" )

The tags that don't break the text.

Definition at line 126 of file eztextinputparser.php.

eZTextInputParser::$TagStack = array()

Contains the tags found.

Definition at line 123 of file eztextinputparser.php.

Definition at line 39 of file eztextinputparser.php.

Referenced by parseText().

Definition at line 38 of file eztextinputparser.php.

Referenced by parseText().


The documentation for this class was generated from the following file: