GNU GPL v2+
- Since
- 2.2
- Author
- mwjames
◆ __construct()
SMW\SQLStore\PropertyTableInfoFetcher::__construct |
( |
PropertyTypeFinder |
$propertyTypeFinder | ) |
|
- Since
- 2.5
- Parameters
-
PropertyTypeFinder | $propertyTypeFinder | |
◆ clearCache()
SMW\SQLStore\PropertyTableInfoFetcher::clearCache |
( |
| ) |
|
◆ findTableIdForDataItemTypeId()
static SMW\SQLStore\PropertyTableInfoFetcher::findTableIdForDataItemTypeId |
( |
|
$dataItemId | ) |
|
|
static |
Find the id of a property table that is normally used to store data items of the given type. The empty string is returned if no such table exists.
- Since
- 2.2
- Parameters
-
- Returns
- string
◆ findTableIdForDataTypeTypeId()
SMW\SQLStore\PropertyTableInfoFetcher::findTableIdForDataTypeTypeId |
( |
|
$dataTypeTypeId | ) |
|
Find the id of a property table that is suitable for storing values of the given type. The type is specified by an SMW type id such as '_wpg'. An empty string is returned if no matching table could be found.
- Since
- 2.2
- Parameters
-
- Returns
- string
◆ findTableIdForProperty()
SMW\SQLStore\PropertyTableInfoFetcher::findTableIdForProperty |
( |
DIProperty |
$property | ) |
|
Retrieve the id of the property table that is to be used for storing values for the given property object.
- Since
- 2.2
- Parameters
-
- Returns
- string
◆ getDefaultDataItemTables()
SMW\SQLStore\PropertyTableInfoFetcher::getDefaultDataItemTables |
( |
| ) |
|
◆ getPropertyTableDefinitions()
SMW\SQLStore\PropertyTableInfoFetcher::getPropertyTableDefinitions |
( |
| ) |
|
Return the array of predefined property table declarations, initialising it if necessary. The result is an array of SMWSQLStore3Table objects indexed by table ids.
It is ensured that the keys of the returned array agree with the name of the table that they refer to.
- Since
- 2.2
- Returns
- TableDefinition[]
◆ isFixedTableProperty()
SMW\SQLStore\PropertyTableInfoFetcher::isFixedTableProperty |
( |
DIProperty |
$property | ) |
|
- Since
- 2.5
- Parameters
-
- Returns
- boolean
◆ setCustomFixedPropertyList()
SMW\SQLStore\PropertyTableInfoFetcher::setCustomFixedPropertyList |
( |
array |
$customFixedProperties | ) |
|
- Since
- 2.2
- Parameters
-
array | $customFixedProperties | |
◆ setCustomSpecialPropertyList()
SMW\SQLStore\PropertyTableInfoFetcher::setCustomSpecialPropertyList |
( |
array |
$customSpecialProperties | ) |
|
- Since
- 2.2
- Parameters
-
array | $customSpecialProperties | |
The documentation for this class was generated from the following file:
- PropertyTableInfoFetcher.php