Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Property\AnnotatorFactory Class Reference

Public Member Functions

 newNullPropertyAnnotator (SemanticData $semanticData)
 
 newRedirectPropertyAnnotator (PropertyAnnotator $propertyAnnotator, RedirectTargetFinder $redirectTargetFinder)
 
 newSchemaPropertyAnnotator (PropertyAnnotator $propertyAnnotator, Schema $schema=null)
 
 newAttachmentLinkPropertyAnnotator (PropertyAnnotator $propertyAnnotator, array $images=[])
 
 newPredefinedPropertyAnnotator (PropertyAnnotator $propertyAnnotator, PageInfo $pageInfo)
 
 newEditProtectedPropertyAnnotator (PropertyAnnotator $propertyAnnotator, Title $title)
 
 newSortKeyPropertyAnnotator (PropertyAnnotator $propertyAnnotator, $sortkey)
 
 newTranslationPropertyAnnotator (PropertyAnnotator $propertyAnnotator, $translation)
 
 newDisplayTitlePropertyAnnotator (PropertyAnnotator $propertyAnnotator, $displayTitle, $defaultSort)
 
 newCategoryPropertyAnnotator (PropertyAnnotator $propertyAnnotator, array $categories)
 
 newMandatoryTypePropertyAnnotator (PropertyAnnotator $propertyAnnotator)
 

Detailed Description

GNU GPL v2+

Since
2.0
Author
mwjames

Member Function Documentation

◆ newAttachmentLinkPropertyAnnotator()

SMW\Property\AnnotatorFactory::newAttachmentLinkPropertyAnnotator ( PropertyAnnotator  $propertyAnnotator,
array  $images = [] 
)
Since
3.1
Parameters
PropertyAnnotator$propertyAnnotator
array$images
Returns
AttachmentLinkPropertyAnnotator

◆ newCategoryPropertyAnnotator()

SMW\Property\AnnotatorFactory::newCategoryPropertyAnnotator ( PropertyAnnotator  $propertyAnnotator,
array  $categories 
)
Since
2.0
Parameters
PropertyAnnotator$propertyAnnotator
array$categories
Returns
CategoryPropertyAnnotator

◆ newDisplayTitlePropertyAnnotator()

SMW\Property\AnnotatorFactory::newDisplayTitlePropertyAnnotator ( PropertyAnnotator  $propertyAnnotator,
  $displayTitle,
  $defaultSort 
)
Since
2.4
Parameters
PropertyAnnotator$propertyAnnotator
string | false$displayTitle
string$defaultSort
Returns
DisplayTitlePropertyAnnotator

◆ newEditProtectedPropertyAnnotator()

SMW\Property\AnnotatorFactory::newEditProtectedPropertyAnnotator ( PropertyAnnotator  $propertyAnnotator,
Title  $title 
)
Since
2.5
Parameters
SemanticData$semanticData
Title$title
Returns
EditProtectedPropertyAnnotator

◆ newMandatoryTypePropertyAnnotator()

SMW\Property\AnnotatorFactory::newMandatoryTypePropertyAnnotator ( PropertyAnnotator  $propertyAnnotator)
Since
2.2
Parameters
PropertyAnnotator$propertyAnnotator
Returns
MandatoryTypePropertyAnnotator

◆ newNullPropertyAnnotator()

SMW\Property\AnnotatorFactory::newNullPropertyAnnotator ( SemanticData  $semanticData)
Since
2.0
Parameters
SemanticData$semanticData
Returns
NullPropertyAnnotator

◆ newPredefinedPropertyAnnotator()

SMW\Property\AnnotatorFactory::newPredefinedPropertyAnnotator ( PropertyAnnotator  $propertyAnnotator,
PageInfo  $pageInfo 
)
Since
2.0
Parameters
PropertyAnnotator$propertyAnnotator
PageInfo$pageInfo
Returns
PredefinedPropertyAnnotator

◆ newRedirectPropertyAnnotator()

SMW\Property\AnnotatorFactory::newRedirectPropertyAnnotator ( PropertyAnnotator  $propertyAnnotator,
RedirectTargetFinder  $redirectTargetFinder 
)
Since
2.0
Parameters
PropertyAnnotator$propertyAnnotator
RedirectTargetFinder$redirectTargetFinder
Returns
RedirectPropertyAnnotator

◆ newSchemaPropertyAnnotator()

SMW\Property\AnnotatorFactory::newSchemaPropertyAnnotator ( PropertyAnnotator  $propertyAnnotator,
Schema  $schema = null 
)
Since
3.0
Parameters
PropertyAnnotator$propertyAnnotator
Schema$schema
Returns
SchemaPropertyAnnotator

◆ newSortKeyPropertyAnnotator()

SMW\Property\AnnotatorFactory::newSortKeyPropertyAnnotator ( PropertyAnnotator  $propertyAnnotator,
  $sortkey 
)
Since
2.0
Parameters
PropertyAnnotator$propertyAnnotator
string$sortkey
Returns
SortKeyPropertyAnnotator

◆ newTranslationPropertyAnnotator()

SMW\Property\AnnotatorFactory::newTranslationPropertyAnnotator ( PropertyAnnotator  $propertyAnnotator,
  $translation 
)
Since
3.0
Parameters
PropertyAnnotator$propertyAnnotator
array | null$translation
Returns
TranslationPropertyAnnotator

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

About | General disclaimer | Privacy policy