MobileFrontend
Mobile optimised frontend for MediaWiki
Loading...
Searching...
No Matches
MobileFrontend\Features\Feature Class Reference
+ Inheritance diagram for MobileFrontend\Features\Feature:
+ Collaboration diagram for MobileFrontend\Features\Feature:

Public Member Functions

 __construct ( $name, $group='mobile-frontend', array $options=[])
 
 __toString ()
 @inheritDoc
 
 isAvailable (IUserMode $userMode)
 @inheritDoc
 
 getId ()
 @inheritDoc
 
 getGroup ()
 @inheritDoc
 
 getNameKey ()
 @inheritDoc
 
 getDescriptionKey ()
 @inheritDoc
 

Additional Inherited Members

- Public Attributes inherited from MobileFrontend\Features\IFeature
const CONFIG_BETA = 'beta'
 Beta mode defined in config.
 
const CONFIG_STABLE = 'base'
 Stable mode defined in config.
 

Constructor & Destructor Documentation

◆ __construct()

MobileFrontend\Features\Feature::__construct ( $name,
$group = 'mobile-frontend',
array $options = [] )
Parameters
string$namefeature name (used as an ID)
string$groupfeature group (used as a translation prefix)
array$optionsFeature options

Member Function Documentation

◆ __toString()

MobileFrontend\Features\Feature::__toString ( )

@inheritDoc

Implements MobileFrontend\Features\IFeature.

◆ getDescriptionKey()

MobileFrontend\Features\Feature::getDescriptionKey ( )

@inheritDoc

Implements MobileFrontend\Features\IFeature.

◆ getGroup()

MobileFrontend\Features\Feature::getGroup ( )

@inheritDoc

Implements MobileFrontend\Features\IFeature.

◆ getId()

MobileFrontend\Features\Feature::getId ( )

@inheritDoc

Implements MobileFrontend\Features\IFeature.

◆ getNameKey()

MobileFrontend\Features\Feature::getNameKey ( )

@inheritDoc

Implements MobileFrontend\Features\IFeature.

◆ isAvailable()

MobileFrontend\Features\Feature::isAvailable ( IUserMode $userMode)

@inheritDoc

Implements MobileFrontend\Features\IFeature.


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