Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

Public Member Functions | Public Attributes | List of all members
eZTextInputParser Class Reference

## Public Member Functions
| parseText ( $text)

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

## Detailed Description

Definition at line 16 of file eztextinputparser.php.

## Member Function Documentation

## ◆ parseText()

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 25 of file eztextinputparser.php.

References CHUNK_TAG, CHUNK_TEXT, and eZDebug\writeNotice().

## Member Data Documentation

## ◆ $BreakTags

eZTextInputParser::$BreakTags = array()

The tags that break the paragraph.

Definition at line 101 of file eztextinputparser.php.

## ◆ $InlineTags

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

The tags that don't break the text.

Definition at line 98 of file eztextinputparser.php.

## ◆ $TagStack

eZTextInputParser::$TagStack = array()

Contains the tags found.

Definition at line 95 of file eztextinputparser.php.

## ◆ CHUNK_TAG

const eZTextInputParser::CHUNK_TAG = 2

Definition at line 19 of file eztextinputparser.php.

Referenced by parseText().

## ◆ CHUNK_TEXT

const eZTextInputParser::CHUNK_TEXT = 1

Definition at line 18 of file eztextinputparser.php.

Referenced by parseText().

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

- eztextinputparser.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.