Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\SQLStore\PropertyTableIdReferenceFinder Class Reference

Public Member Functions

 __construct (SQLStore $store)
 
 isCapitalLinks ( $isCapitalLinks)
 
 tryToFindAtLeastOneReferenceForProperty (DIProperty $property)
 
 hasResidualPropertyTableReference ( $id)
 
 hasResidualReferenceForId ( $id)
 
 searchAllTablesToFindAtLeastOneReferenceById ( $id)
 
 findAtLeastOneActiveReferenceById ( $id, $secondary_ref=true)
 

Detailed Description

GNU GPL v2+

Since
2.4
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\SQLStore\PropertyTableIdReferenceFinder::__construct ( SQLStore  $store)
Since
2.4
Parameters
SQLStore$store

Member Function Documentation

◆ findAtLeastOneActiveReferenceById()

SMW\SQLStore\PropertyTableIdReferenceFinder::findAtLeastOneActiveReferenceById (   $id,
  $secondary_ref = true 
)
Since
2.4
Parameters
integer$id
boolean$secondary_ref
Returns
DataItem|false

◆ hasResidualPropertyTableReference()

SMW\SQLStore\PropertyTableIdReferenceFinder::hasResidualPropertyTableReference (   $id)
Since
3.0
Parameters
integer$id
Returns
boolean

◆ hasResidualReferenceForId()

SMW\SQLStore\PropertyTableIdReferenceFinder::hasResidualReferenceForId (   $id)
Since
2.4
Parameters
integer$id
Returns
boolean

◆ isCapitalLinks()

SMW\SQLStore\PropertyTableIdReferenceFinder::isCapitalLinks (   $isCapitalLinks)
Note
If $wgCapitalLinks is set false then it will avoid forcing the first letter of page titles (including included pages, images and categories) to capitals
Since
2.4
Parameters
booelan$isCapitalLinks

◆ searchAllTablesToFindAtLeastOneReferenceById()

SMW\SQLStore\PropertyTableIdReferenceFinder::searchAllTablesToFindAtLeastOneReferenceById (   $id)
Since
2.5
Parameters
integer$id
Returns
array

◆ tryToFindAtLeastOneReferenceForProperty()

SMW\SQLStore\PropertyTableIdReferenceFinder::tryToFindAtLeastOneReferenceForProperty ( DIProperty  $property)
Since
2.4
Parameters
DIProperty$property
Returns
DataItem|false

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

About | General disclaimer | Privacy policy