Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5973331
AfterAfterFrameset.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
AfterAfterFrameset.php
View Options
<?php
namespace
Wikimedia\RemexHtml\TreeBuilder
;
use
Wikimedia\RemexHtml\Tokenizer\Attributes
;
/**
* The "after after frameset" insertion mode.
*/
class
AfterAfterFrameset
extends
InsertionMode
{
public
function
characters
(
$text
,
$start
,
$length
,
$sourceStart
,
$sourceLength
)
{
$this
->
handleFramesetWhitespace
(
true
,
$text
,
$start
,
$length
,
$sourceStart
,
$sourceLength
);
}
public
function
startTag
(
$name
,
Attributes
$attrs
,
$selfClose
,
$sourceStart
,
$sourceLength
)
{
$builder
=
$this
->
builder
;
$dispatcher
=
$this
->
dispatcher
;
switch
(
$name
)
{
case
'html'
:
$dispatcher
->
inBody
->
startTag
(
$name
,
$attrs
,
$selfClose
,
$sourceStart
,
$sourceLength
);
break
;
case
'noframes'
:
$dispatcher
->
inHead
->
startTag
(
$name
,
$attrs
,
$selfClose
,
$sourceStart
,
$sourceLength
);
break
;
default
:
$builder
->
error
(
"unexpected start tag after after frameset"
,
$sourceStart
);
}
}
public
function
endTag
(
$name
,
$sourceStart
,
$sourceLength
)
{
$this
->
builder
->
error
(
"unexpected end tag after after frameset"
,
$sourceStart
);
}
public
function
endDocument
(
$pos
)
{
$this
->
builder
->
stopParsing
(
$pos
);
}
public
function
comment
(
$text
,
$sourceStart
,
$sourceLength
)
{
$this
->
builder
->
comment
(
[
TreeBuilder
::
ROOT
,
null
],
$text
,
$sourceStart
,
$sourceLength
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 16:33 (12 h, 47 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
54/36/d46f6c2de7af7f66880e29730c3a
Default Alt Text
AfterAfterFrameset.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment