Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
SMW\PropertyAnnotators\CategoryPropertyAnnotator Class Reference
Collaboration diagram for SMW\PropertyAnnotators\CategoryPropertyAnnotator:
Collaboration graph
[legend]

Public Member Functions

 __construct (PropertyAnnotator $propertyAnnotator, array $categories)
 
 setShowHiddenCategoriesState ($showHiddenCategoriesState)
 
 setCategoryInstanceUsageState ($categoryInstanceUsageState)
 
 setCategoryHierarchyUsageState ($categoryHierarchyUsageState)
 
- Public Member Functions inherited from SMW\PropertyAnnotators\PropertyAnnotatorDecorator
 __construct (PropertyAnnotator $propertyAnnotator)
 
 getSemanticData ()
 
 addAnnotation ()
 

Protected Member Functions

 addPropertyValues ()
 
- Protected Member Functions inherited from SMW\PropertyAnnotators\PropertyAnnotatorDecorator
 addPropertyValues ()
 

Additional Inherited Members

- Protected Attributes inherited from SMW\PropertyAnnotators\PropertyAnnotatorDecorator
 $propertyAnnotator
 
 $dataItemFactory
 

Detailed Description

Handling category annotation

GNU GPL v2+

Since
1.9
Author
mwjames

Constructor & Destructor Documentation

SMW\PropertyAnnotators\CategoryPropertyAnnotator::__construct ( PropertyAnnotator  $propertyAnnotator,
array  $categories 
)
Since
1.9
Parameters
PropertyAnnotator$propertyAnnotator
array$categories

Member Function Documentation

SMW\PropertyAnnotators\CategoryPropertyAnnotator::addPropertyValues ( )
protected
SMW\PropertyAnnotators\CategoryPropertyAnnotator::setCategoryHierarchyUsageState (   $categoryHierarchyUsageState)
Since
2.3
Parameters
boolean$categoryHierarchyUsageState
SMW\PropertyAnnotators\CategoryPropertyAnnotator::setCategoryInstanceUsageState (   $categoryInstanceUsageState)
Since
2.3
Parameters
boolean$categoryInstanceUsageState
SMW\PropertyAnnotators\CategoryPropertyAnnotator::setShowHiddenCategoriesState (   $showHiddenCategoriesState)
Since
2.3
Parameters
boolean$showHiddenCategoriesState

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