Documentation

Seo_Controller
in package

Abstract Seo.

Tags
subpackage

Seo

version
7.x
author

Hostmake LLC

copyright

© 2005-2022 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

$instance  : mixed
The singleton instances.
$_oSeo_Site  : Site_Model
Seo site object
$_oSite  : Site_Model
Site object
$_token  : string
Token
execute()  : bool
Execute
getRatingName()  : string
Get rating name
getSitePopularPages()  : array<string|int, mixed>
Get popular pages
getSitePopularQueries()  : array<string|int, mixed>
Get popular queries
getTokenUrl()  : string
Get token url
instance()  : object
Register an existing instance as a singleton.
setSeoSite()  : self
Set seo site
setSite()  : self
Set site
setToken()  : self
Set token
_getDriverName()  : srting
Get full driver name

Properties

$instance

The singleton instances.

public static mixed $instance = array()

Methods

execute()

Execute

public abstract execute() : bool
Return values
bool

getRatingName()

Get rating name

public abstract getRatingName() : string
Return values
string

getSitePopularPages()

Get popular pages

public abstract getSitePopularPages(mixed $host_id) : array<string|int, mixed>
Parameters
$host_id : mixed
Return values
array<string|int, mixed>

getSitePopularQueries()

Get popular queries

public abstract getSitePopularQueries(mixed $host_id) : array<string|int, mixed>
Parameters
$host_id : mixed
Return values
array<string|int, mixed>

getTokenUrl()

Get token url

public abstract getTokenUrl() : string
Return values
string

instance()

Register an existing instance as a singleton.

public static instance(string $name) : object
Parameters
$name : string

driver's name

Return values
object

setSite()

Set site

public setSite(string $oSite) : self
Parameters
$oSite : string

Site Model

Return values
self

setToken()

Set token

public setToken(string $token) : self
Parameters
$token : string

token

Return values
self

_getDriverName()

Get full driver name

protected static _getDriverName(string $driver) : srting
Parameters
$driver : string

driver name

Return values
srting

Search results