BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
DPL\Article Class Reference

Public Member Functions

 __construct ($title, $namespace)
 

Static Public Member Functions

static newFromRow ($row, Parameters $parameters,\Title $title, $pageNamespace, $pageTitle)
 
static getHeadings ()
 
static resetHeadings ()
 

Public Attributes

 $mTitle = null
 
 $mNamespace = -1
 
 $mID = 0
 
 $mSelTitle = ''
 
 $mSelNamespace = -1
 
 $mImageSelTitle = ''
 
 $mLink = ''
 
 $mExternalLink = ''
 
 $mStartChar = null
 
 $mParentHLink = ''
 
 $mCategoryLinks = []
 
 $mCategoryTexts = []
 
 $mCounter = 0
 
 $mSize = ''
 
 $mDate = null
 
 $myDate = null
 
 $mRevision = null
 
 $mUserLink = null
 
 $mUser = null
 
 $mComment = null
 
 $mContribution = 0
 
 $mContrib = ''
 
 $mContributor = null
 

Constructor & Destructor Documentation

DPL\Article::__construct (   $title,
  $namespace 
)

Main Constructor

public

Parameters
stringTitle
integerNamespace
Returns
void

Member Function Documentation

static DPL\Article::getHeadings ( )
static

Returns all heading information processed from all newly instantiated article objects.

public

Returns
array Headings
static DPL\Article::newFromRow (   $row,
Parameters  $parameters,
\Title  $title,
  $pageNamespace,
  $pageTitle 
)
static

Initialize a new instance from a database row.

public

Parameters
arrayDatabase Row
objectObject
objectMediawiki Title Object
integerPage Namespace ID
stringPage Title as Selected from Query
Returns
object Object
static DPL\Article::resetHeadings ( )
static

Reset the headings to their initial state. Ideally this Article class should not exist and be handled by the built in MediaWiki class. https://jira/browse/HYD-913

public

Returns
void

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