MediaWiki master
MediaWiki\RecentChanges\ChangesListQuery\TitleConditionValue Class Reference

A simple value class and helpers for a namespace/dbkey pair. More...

Inherits Stringable.

Collaboration diagram for MediaWiki\RecentChanges\ChangesListQuery\TitleConditionValue:

Public Member Functions

 __construct (public int $namespace, public string $dbKey)
 
 __toString ()
 

Static Public Member Functions

static create ( $title)
 
static makeSet ( $values)
 

Detailed Description

A simple value class and helpers for a namespace/dbkey pair.

Access: internal
For use by ChangesListQuery
Since
1.45

Definition at line 15 of file TitleConditionValue.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\RecentChanges\ChangesListQuery\TitleConditionValue::__construct ( public int $namespace,
public string $dbKey )

Definition at line 47 of file TitleConditionValue.php.

Member Function Documentation

◆ __toString()

MediaWiki\RecentChanges\ChangesListQuery\TitleConditionValue::__toString ( )

Definition at line 53 of file TitleConditionValue.php.

◆ create()

static MediaWiki\RecentChanges\ChangesListQuery\TitleConditionValue::create ( $title)
static
Parameters
LinkTarget | PageReference$title
Returns
self

Definition at line 20 of file TitleConditionValue.php.

Referenced by MediaWiki\RecentChanges\ChangesListQuery\TitleCondition\validateValue().

◆ makeSet()

static MediaWiki\RecentChanges\ChangesListQuery\TitleConditionValue::makeSet ( $values)
static
Parameters
self[]$values
Returns
array

Definition at line 39 of file TitleConditionValue.php.

Referenced by MediaWiki\RecentChanges\ChangesListQuery\TitleCondition\prepareConds().


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