‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Html\SimpleNode Class Reference

Public Member Functions

 __construct (int $type, int $index, string $string)
 
 __toString ()
 
 getType ()
 
 getIndex ()
 
 getElementName ()
 

Static Public Member Functions

static fromString (int $type, int $index, string $string)
 

Public Attributes

const TYPE_ELEMENT = 1
 
const TYPE_TEXT = 3
 
const TYPE_CDATA = 4
 
const TYPE_COMMENT = 8
 

Protected Attributes

int $type
 
int $index
 
string $string
 

Detailed Description

Definition at line 23 of file SimpleNode.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Html\SimpleNode::__construct ( int  $type,
int  $index,
string  $string 
)

Member Function Documentation

◆ __toString()

TYPO3\CMS\Core\Html\SimpleNode::__toString ( )

Definition at line 55 of file SimpleNode.php.

References TYPO3\CMS\Core\Html\SimpleNode\$string.

◆ fromString()

static TYPO3\CMS\Core\Html\SimpleNode::fromString ( int  $type,
int  $index,
string  $string 
)
static

◆ getElementName()

TYPO3\CMS\Core\Html\SimpleNode::getElementName ( )

Definition at line 70 of file SimpleNode.php.

References TYPO3\CMS\Core\Html\SimpleNode\getType().

◆ getIndex()

TYPO3\CMS\Core\Html\SimpleNode::getIndex ( )

Definition at line 65 of file SimpleNode.php.

References TYPO3\CMS\Core\Html\SimpleNode\$index.

◆ getType()

Member Data Documentation

◆ $index

int TYPO3\CMS\Core\Html\SimpleNode::$index
protected

◆ $string

string TYPO3\CMS\Core\Html\SimpleNode::$string
protected

◆ $type

int TYPO3\CMS\Core\Html\SimpleNode::$type
protected

◆ TYPE_CDATA

const TYPO3\CMS\Core\Html\SimpleNode::TYPE_CDATA = 4

Definition at line 28 of file SimpleNode.php.

Referenced by TYPO3\CMS\Core\Html\SimpleParser\process().

◆ TYPE_COMMENT

const TYPO3\CMS\Core\Html\SimpleNode::TYPE_COMMENT = 8

Definition at line 29 of file SimpleNode.php.

Referenced by TYPO3\CMS\Core\Html\SimpleParser\process().

◆ TYPE_ELEMENT

const TYPO3\CMS\Core\Html\SimpleNode::TYPE_ELEMENT = 1

Definition at line 26 of file SimpleNode.php.

Referenced by TYPO3\CMS\Core\Html\SimpleParser\process().

◆ TYPE_TEXT

const TYPO3\CMS\Core\Html\SimpleNode::TYPE_TEXT = 3