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

Public Member Functions

 __construct (PropertyAnnotator $propertyAnnotator, array $categories)
 
 showHiddenCategories ( $showHiddenCategories)
 
 useCategoryInstance ( $useCategoryInstance)
 
 useCategoryHierarchy ( $useCategoryHierarchy)
 
 useCategoryRedirect ( $useCategoryRedirect)
 
- Public Member Functions inherited from SMW\Property\Annotators\PropertyAnnotatorDecorator
 __construct (PropertyAnnotator $propertyAnnotator)
 
 getSemanticData ()
 
 addAnnotation ()
 

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from SMW\Property\Annotators\PropertyAnnotatorDecorator
 $propertyAnnotator
 
 $dataItemFactory
 

Detailed Description

Handling category annotation

GNU GPL v2+

Since
1.9
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ addPropertyValues()

SMW\Property\Annotators\CategoryPropertyAnnotator::addPropertyValues ( )
protected

◆ showHiddenCategories()

SMW\Property\Annotators\CategoryPropertyAnnotator::showHiddenCategories (   $showHiddenCategories)
Since
2.3
Parameters
boolean$showHiddenCategories

◆ useCategoryHierarchy()

SMW\Property\Annotators\CategoryPropertyAnnotator::useCategoryHierarchy (   $useCategoryHierarchy)
Since
2.3
Parameters
boolean$useCategoryHierarchy

◆ useCategoryInstance()

SMW\Property\Annotators\CategoryPropertyAnnotator::useCategoryInstance (   $useCategoryInstance)
Since
2.3
Parameters
boolean$useCategoryInstance

◆ useCategoryRedirect()

SMW\Property\Annotators\CategoryPropertyAnnotator::useCategoryRedirect (   $useCategoryRedirect)
Since
3.0
Parameters
boolean$useCategoryRedirect

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

About | General disclaimer | Privacy policy