MobileFrontend
MobileoptimisedfrontendforMediaWiki
MobileFrontend\BaseDomainExtractorInterface Interface Reference

Helper for operations on domain names. More...

+ Inheritance diagram for MobileFrontend\BaseDomainExtractorInterface:

Public Member Functions

 getCookieDomain ( $server)
 Try to extract the base domain from $server Returns $server if no base domain is found. More...
 

Detailed Description

Helper for operations on domain names.

Interface DomainExtractorInterface

Member Function Documentation

◆ getCookieDomain()

MobileFrontend\BaseDomainExtractorInterface::getCookieDomain (   $server)

Try to extract the base domain from $server Returns $server if no base domain is found.

Parameters
string$serverURL
Returns
string Hostname

Implemented in MobileFrontend\WMFBaseDomainExtractor.


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