BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
SMWPropertyPage Class Reference
Inheritance diagram for SMWPropertyPage:
Collaboration diagram for SMWPropertyPage:

Protected Member Functions

 initParameters ()
 
 getHtml ()
 
 getIntroductoryText ()
 
 getTopIndicator ()
 
 getSubpropertyList ()
 
 getPropertyValueList ()
 
 subjectObjectList (array $diWikiPages)
 
- Protected Member Functions inherited from SMWOrderedListPage
 getTopIndicator ()
 
 getIntroductoryText ()
 
 getNavigationLinks ($msgKey, array $diWikiPages, $default=50)
 
 showList ()
 
 initParameters ()
 
 getHtml ()
 
 getDataItem ()
 
- Protected Member Functions inherited from Article
 newPage (Title $title)
 
 getContentObject ()
 
 fetchContent ()
 
 fetchContentObject ()
 
 showDiffPage ()
 
 showCssOrJsPage ($showCacheHint=true)
 
 tryFileCache ()
 

Additional Inherited Members

- Public Member Functions inherited from SMWOrderedListPage
 view ()
 
- Public Member Functions inherited from Article
 __construct (Title $title, $oldId=null)
 
 setRedirectedFrom (Title $from)
 
 getTitle ()
 
 getPage ()
 
 clear ()
 
 getContent ()
 
 getOldID ()
 
 getOldIDFromRequest ()
 
 isCurrent ()
 
 getRevisionFetched ()
 
 getRevIdFetched ()
 
 view ()
 
 adjustDisplayTitle (ParserOutput $pOutput)
 
 getRobotPolicy ($action, $pOutput=null)
 
 showRedirectedFromHeader ()
 
 showNamespaceHeader ()
 
 showViewFooter ()
 
 showPatrolFooter ()
 
 showMissingArticle ()
 
 showDeletedRevisionHeader ()
 
 setOldSubtitle ($oldid=0)
 
 viewRedirect ($target, $appendSubtitle=true, $forceKnown=false)
 
 addHelpLink ($to, $overrideBaseUrl=false)
 
 render ()
 
 protect ()
 
 unprotect ()
 
 delete ()
 
 confirmDelete ($reason)
 
 doDelete ($reason, $suppress=false)
 
 isFileCacheable ()
 
 getParserOutput ($oldid=null, User $user=null)
 
 setParserOptions (ParserOptions $options)
 
 getParserOptions ()
 
 setContext ($context)
 
 getContext ()
 
 __get ($fname)
 
 __set ($fname, $fvalue)
 
 checkFlags ($flags)
 
 checkTouched ()
 
 clearPreparedEdit ()
 
 doDeleteArticleReal ($reason, $suppress=false, $u1=null, $u2=null, &$error= '', User $user=null)
 
 doDeleteUpdates ($id, Content $content=null)
 
 doEdit ($text, $summary, $flags=0, $baseRevId=false, $user=null)
 
 doEditContent (Content $content, $summary, $flags=0, $baseRevId=false, User $user=null, $serialFormat=null)
 
 doEditUpdates (Revision $revision, User $user, array $options=[])
 
 doPurge ()
 
 doQuickEditContent (Content $content, User $user, $comment= '', $minor=false, $serialFormat=null)
 
 doViewUpdates (User $user, $oldid=0)
 
 exists ()
 
 followRedirect ()
 
 getActionOverrides ()
 
 getAutoDeleteReason (&$hasHistory)
 
 getCategories ()
 
 getComment ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 getContentHandler ()
 
 getContentModel ()
 
 getContributors ()
 
 getCreator ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 getDeletionUpdates (Content $content=null)
 
 getHiddenCategories ()
 
 getId ()
 
 getLatest ()
 
 getLinksTimestamp ()
 
 getMinorEdit ()
 
 getOldestRevision ()
 
 getRedirectTarget ()
 
 getRedirectURL ($rt)
 
 getRevision ()
 
 getText ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 getTimestamp ()
 
 getTouched ()
 
 getUndoContent (Revision $undo, Revision $undoafter=null)
 
 getUser ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 getUserText ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 hasViewableContent ()
 
 insertOn ($dbw, $pageId=null)
 
 insertProtectNullRevision ($revCommentMsg, array $limit, array $expiry, $cascade, $reason, $user=null)
 
 insertRedirect ()
 
 insertRedirectEntry (Title $rt, $oldLatest=null)
 
 isCountable ($editInfo=false)
 
 isRedirect ()
 
 loadFromRow ($data, $from)
 
 loadPageData ($from= 'fromdb')
 
 lockAndGetLatest ()
 
 makeParserOptions ($context)
 
 pageDataFromId ($dbr, $id, $options=[])
 
 pageDataFromTitle ($dbr, $title, $options=[])
 
 prepareContentForEdit (Content $content, $revision=null, User $user=null, $serialFormat=null, $useCache=true)
 
 prepareTextForEdit ($text, $revid=null, User $user=null)
 
 protectDescription (array $limit, array $expiry)
 
 protectDescriptionLog (array $limit, array $expiry)
 
 replaceSectionAtRev ($sectionId, Content $sectionContent, $sectionTitle= '', $baseRevId=null)
 
 replaceSectionContent ($sectionId, Content $sectionContent, $sectionTitle= '', $edittime=null)
 
 setTimestamp ($ts)
 
 shouldCheckParserCache (ParserOptions $parserOptions, $oldId)
 
 supportsSections ()
 
 triggerOpportunisticLinksUpdate (ParserOutput $parserOutput)
 
 updateCategoryCounts (array $added, array $deleted)
 
 updateIfNewerOn ($dbw, $revision)
 
 updateRedirectOn ($dbw, $redirectTitle, $lastRevIsRedirect=null)
 
 updateRevisionOn ($dbw, $revision, $lastRevision=null, $lastRevIsRedirect=null)
 
 doUpdateRestrictions (array $limit, array $expiry, &$cascade, $reason, User $user)
 
 updateRestrictions ($limit=[], $reason= '', &$cascade=0, $expiry=[])
 
 doDeleteArticle ($reason, $suppress=false, $u1=null, $u2=null, &$error= '')
 
 doRollback ($fromP, $summary, $token, $bot, &$resultDetails, User $user=null)
 
 commitRollback ($fromP, $summary, $bot, &$resultDetails, User $guser=null)
 
 generateReason (&$hasHistory)
 
- Static Public Member Functions inherited from Article
static newFromID ($id)
 
static newFromTitle ($title, IContextSource $context)
 
static newFromWikiPage (WikiPage $page, IContextSource $context)
 
static formatRobotPolicy ($policy)
 
static purgePatrolFooterCache ($articleID)
 
static selectFields ()
 
static onArticleCreate ($title)
 
static onArticleDelete ($title)
 
static onArticleEdit ($title)
 
static getAutosummary ($oldtext, $newtext, $flags)
 
- Public Attributes inherited from Article
 $mParserOptions
 
 $mContent
 
 $mContentObject
 
 $mContentLoaded = false
 
 $mOldId
 
 $mRedirectedFrom = null
 
 $mRedirectUrl = false
 
 $mRevIdFetched = 0
 
 $mRevision = null
 
 $mParserOutput
 
- Protected Attributes inherited from SMWOrderedListPage
 $limit
 
 $from
 
 $until
 
 $skin
 
 $mProperty = null
 
- Protected Attributes inherited from Article
 $mContext
 
 $mPage
 

Detailed Description

Implementation of MediaWiki's Article that shows additional information on property pages. Very similar to CategoryPage, but with different printout that also displays values for each subject with the given property.

Author
Markus Krötzsch

Member Function Documentation

SMWPropertyPage::getHtml ( )
protected

Returns the HTML which is added to $wgOut after the article text.

Returns
string
SMWPropertyPage::getIntroductoryText ( )
protected

Returns an introductory text for a predefined property

Note
In order to enable a more detailed description for a specific predefined property a concatenated message key can be used (e.g 'smw-pa-property-predefined' + <internal property="" key>=""> => '_asksi' )
Since
1.9
Returns
string
SMWPropertyPage::getPropertyValueList ( )
protected

Get the HTML for displaying values of this property, based on the current from/until and limit settings.

Returns
string
SMWPropertyPage::getSubpropertyList ( )
protected

Get the HTML for displaying subproperties of this property. This list is usually short and we implement no additional navigation.

Returns
string
SMWPropertyPage::initParameters ( )
protected
See Also
SMWOrderedListPage::initParameters()
Note
We use a smaller limit here; property pages might become large.
SMWPropertyPage::subjectObjectList ( array  $diWikiPages)
protected

Format $diWikiPages chunked by letter in a table that shows subject articles in one column and object articles/values in the other one.

Parameters
$diWikiPagesarray
Returns
string

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