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

Public Member Functions

 __construct (SQLStore $store)
 
 setPredefinedPropertyList (array $predefinedPropertyList)
 
 check (array $opts=[])
 

Detailed Description

GNU GPL v2+

Since
3.1
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\SQLStore\TableBuilder\Examiner\PredefinedProperties::__construct ( SQLStore  $store)
Since
3.1
Parameters
SQLStore$store

Member Function Documentation

◆ check()

SMW\SQLStore\TableBuilder\Examiner\PredefinedProperties::check ( array  $opts = [])

Create some initial DB entries for important built-in properties. Having the DB contents predefined allows us to safe DB calls when certain data is needed. At the same time, the entries in the DB make sure that DB-based functions work as with all other properties.

Since
3.1
Parameters
array$opts

◆ setPredefinedPropertyList()

SMW\SQLStore\TableBuilder\Examiner\PredefinedProperties::setPredefinedPropertyList ( array  $predefinedPropertyList)
Since
3.1
Parameters
array$predefinedPropertyList

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

About | General disclaimer | Privacy policy