BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
SMW\PropertyHierarchyLookup Class Reference
Inheritance diagram for SMW\PropertyHierarchyLookup:
Collaboration diagram for SMW\PropertyHierarchyLookup:

Public Member Functions

 __construct (Store $store, Cache $cache)
 
 setLogger (LoggerInterface $logger)
 
 setSubcategoryDepth ($subcategoryDepth)
 
 setSubpropertyDepth ($subpropertyDepth)
 
 hasSubpropertyFor (DIProperty $property)
 
 hasSubcategoryFor (DIWikiPage $category)
 
 findSubpropertListFor (DIProperty $property)
 
 findSubcategoryListFor (DIWikiPage $category)
 

Public Attributes

const POOLCACHE_ID = 'property.hierarchy.lookup'
 

Detailed Description

GNU GPL v2+

Since
2.3
Author
mwjames

Constructor & Destructor Documentation

SMW\PropertyHierarchyLookup::__construct ( Store  $store,
Cache  $cache 
)
Since
2.3
Parameters
Store$store
Cache$cache

Member Function Documentation

SMW\PropertyHierarchyLookup::findSubcategoryListFor ( DIWikiPage  $category)
Since
2.3
Parameters
DIWikiPage$category
Returns
DIWikiPage[]|[]
SMW\PropertyHierarchyLookup::findSubpropertListFor ( DIProperty  $property)
Since
2.3
Parameters
DIProperty$property
Returns
DIWikiPage[]|[]
SMW\PropertyHierarchyLookup::hasSubcategoryFor ( DIWikiPage  $category)
Since
2.3
Parameters
DIWikiPage$category
Returns
boolean
SMW\PropertyHierarchyLookup::hasSubpropertyFor ( DIProperty  $property)
Since
2.3
Parameters
DIProperty$property
Returns
boolean
SMW\PropertyHierarchyLookup::setLogger ( LoggerInterface  $logger)
See Also
LoggerAwareInterface::setLogger
Since
2.5
Parameters
LoggerInterface$logger

Implements Psr\Log\LoggerAwareInterface.

SMW\PropertyHierarchyLookup::setSubcategoryDepth (   $subcategoryDepth)
Since
2.3
Parameters
integer$subcategoryDepth
SMW\PropertyHierarchyLookup::setSubpropertyDepth (   $subpropertyDepth)
Since
2.3
Parameters
integer$subpropertyDepth

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