Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
SESP\Annotator\ShortUrlAnnotator Class Reference

Public Member Functions

 __construct (SemanticData $semanticData)
 
 canUseShortUrl ()
 
 setShortUrlPrefix ($shortUrlPrefix)
 
 addAnnotation ()
 

Protected Member Functions

 getShortUrl (Title $title)
 
 getUrlPrefix ()
 
 hasShortUrlUtils ()
 

Detailed Description

GNU GPL v2+

Since
1.0
Author
rotsee

Constructor & Destructor Documentation

SESP\Annotator\ShortUrlAnnotator::__construct ( SemanticData  $semanticData)
Since
1.0
Parameters
SemanticData$semanticData

Member Function Documentation

SESP\Annotator\ShortUrlAnnotator::addAnnotation ( )
Since
1.0
Returns
boolean
SESP\Annotator\ShortUrlAnnotator::canUseShortUrl ( )
Since
1.3
Returns
boolean
SESP\Annotator\ShortUrlAnnotator::getShortUrl ( Title  $title)
protected
SESP\Annotator\ShortUrlAnnotator::getUrlPrefix ( )
protected
SESP\Annotator\ShortUrlAnnotator::hasShortUrlUtils ( )
protected
SESP\Annotator\ShortUrlAnnotator::setShortUrlPrefix (   $shortUrlPrefix)
Since
1.0
Parameters
string$shortUrlPrefix

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