Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\NodeData\DataParsoid Class Reference
+ Inheritance diagram for Wikimedia\Parsoid\NodeData\DataParsoid:
+ Collaboration diagram for Wikimedia\Parsoid\NodeData\DataParsoid:

Public Member Functions

 __clone ()
 Deeply clone this object.
 
 isModified ()
 
 getTemp ()
 Get a lazy-initialized object to which temporary properties can be written.
 
 getTempFlag ( $flag)
 Check whether a bit is set in $this->tmp->bits.
 
 setTempFlag ( $flag, $value=true)
 Set a bit in $this->tmp->bits.
 
 toJsonArray ()
 

Static Public Member Functions

static jsonClassHintFor (string $keyname)
 
static newFromJsonArray (array $json)
 

Public Attributes

 $tmp
 

Member Function Documentation

◆ getTemp()

Wikimedia\Parsoid\NodeData\DataParsoid::getTemp ( )

Get a lazy-initialized object to which temporary properties can be written.

Returns
TempData

◆ getTempFlag()

Wikimedia\Parsoid\NodeData\DataParsoid::getTempFlag ( $flag)

Check whether a bit is set in $this->tmp->bits.

Parameters
int$flag
Returns
bool

◆ setTempFlag()

Wikimedia\Parsoid\NodeData\DataParsoid::setTempFlag ( $flag,
$value = true )

Set a bit in $this->tmp->bits.

Parameters
int$flag
bool$value

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