Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4148380
NullTreeHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
NullTreeHandler.php
View Options
<?php
namespace
Wikimedia\RemexHtml\TreeBuilder
;
use
Wikimedia\RemexHtml\Tokenizer\Attributes
;
/**
* A TreeHandler which does nothing
*/
class
NullTreeHandler
implements
TreeHandler
{
/**
* @inheritDoc
*/
public
function
startDocument
(
$fns
,
$fn
)
{
}
/**
* @inheritDoc
*/
public
function
endDocument
(
$pos
)
{
}
/**
* @inheritDoc
*/
public
function
characters
(
$parent
,
$refNode
,
$text
,
$start
,
$length
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
insertElement
(
$parent
,
$refNode
,
Element
$element
,
$void
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
endTag
(
Element
$element
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
doctype
(
$name
,
$public
,
$system
,
$quirks
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
comment
(
$parent
,
$refNode
,
$text
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
error
(
$text
,
$pos
)
{
}
/**
* @inheritDoc
*/
public
function
mergeAttributes
(
Element
$element
,
Attributes
$attrs
,
$sourceStart
)
{
}
/**
* @inheritDoc
*/
public
function
removeNode
(
Element
$element
,
$sourceStart
)
{
}
/**
* @inheritDoc
*/
public
function
reparentChildren
(
Element
$element
,
Element
$newParent
,
$sourceStart
)
{
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 18:46 (6 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
67/e4/f8fa2edec8ebc41717e3e57bcca3
Default Alt Text
NullTreeHandler.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment