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

Public Member Functions

 __construct (UserMode $userMode, Manager $amcManager, User $user, Config $config)
 
 isCampaignActive ()
 Whether or not the outreach campaign is turned on and amc is available.
 
 isUserEligible ()
 Whether or not the current user is eligible to see the outreach campaign.
 

Constructor & Destructor Documentation

◆ __construct()

MobileFrontend\Amc\Outreach::__construct ( UserMode $userMode,
Manager $amcManager,
User $user,
Config $config )
Parameters
UserMode$userMode
Manager$amcManager
User$user
Config$config

Member Function Documentation

◆ isCampaignActive()

MobileFrontend\Amc\Outreach::isCampaignActive ( )

Whether or not the outreach campaign is turned on and amc is available.

Returns
bool

◆ isUserEligible()

MobileFrontend\Amc\Outreach::isUserEligible ( )

Whether or not the current user is eligible to see the outreach campaign.

Returns
bool
Exceptions

ConfigException


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