Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5958029
RefGroupItem.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
RefGroupItem.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Cite\Parsoid
;
use
Wikimedia\Parsoid\DOM\Element
;
/**
* Individual item in a {@see RefGroup}.
*
* @license GPL-2.0-or-later
*/
class
RefGroupItem
{
/**
* Pointer to the contents of the ref, accessible with the
* {@see ParsoidExtensionAPI::getContentDOM}, to be used when serializing the references group.
* It gets set when extracting the ref from a node and not $missingContent. Note that that
* might not be the first one for named refs. Also, for named refs, it's used to detect
* multiple conflicting definitions.
*/
public
?
string
$contentId
=
null
;
/** Just used for comparison when we have multiples */
public
?
string
$cachedHtml
=
null
;
public
string
$dir
=
''
;
public
string
$group
=
''
;
public
int
$groupIndex
=
1
;
public
int
$index
=
0
;
public
string
$key
;
public
string
$id
;
/** @var array<int,string> */
public
array
$linkbacks
=
[];
public
string
$name
=
''
;
public
string
$target
;
/** @var Element[] */
public
array
$nodes
=
[];
/** @var string[] */
public
array
$embeddedNodes
=
[];
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 05:31 (2 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b9/1a/4f2f125e8f8768ed627ebde5c6df
Default Alt Text
RefGroupItem.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment