class SEOModule extends Module (View source)

Class SEOModule.

Properties

protected RequestRepository $request from  Module

Methods

__construct(RequestRepository $request, SitesManagerModule $sitesManager)

SEOModule constructor.

getOptions(string $format)

No description

from  Module
mixed
getRank(string $url, string $format = null)

No description

mixed
getRankFromSiteId(int $siteId, string $format = null)

No description

Details

__construct(RequestRepository $request, SitesManagerModule $sitesManager)

SEOModule constructor.

Parameters

RequestRepository $request
SitesManagerModule $sitesManager

protected RequestOptions getOptions(string $format)

No description

Parameters

string $format

response format

Return Value

RequestOptions

mixed getRank(string $url, string $format = null)

No description

Parameters

string $url

url to search for

string $format

override format (defaults to one specified in config file)

Return Value

mixed

mixed getRankFromSiteId(int $siteId, string $format = null)

No description

Parameters

int $siteId

Override for ID, so you can specify one rather than fetching it from config

string $format

override format (defaults to one specified in config file)

Return Value

mixed