MobileFrontend
Mobile optimised frontend for MediaWiki
Loading...
Searching...
No Matches
MobileFrontend\Amc\Manager Class Reference

Public Member Functions

 __construct (Config $config, MobileContext $mobileContext)
 
 isAvailable ()
 Returns information if the AMC mode is available for current session.
 
 getModeIdentifier ()
 Get the mode identifier (used in configs)
 

Public Attributes

const AMC_EDIT_TAG = 'advanced mobile edit'
 Change tag All edits when has AMC enabled will be tagged with AMC_EDIT_TAG.
 

Constructor & Destructor Documentation

◆ __construct()

MobileFrontend\Amc\Manager::__construct ( Config $config,
MobileContext $mobileContext )
Parameters
Config$config
MobileContext$mobileContext

Member Function Documentation

◆ getModeIdentifier()

MobileFrontend\Amc\Manager::getModeIdentifier ( )

Get the mode identifier (used in configs)

Returns
string

◆ isAvailable()

MobileFrontend\Amc\Manager::isAvailable ( )

Returns information if the AMC mode is available for current session.

Returns
bool
Exceptions
ConfigException

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