Base
Class Base
Table of Contents
Constants
- Fb = 'fb'
- Ga = 'google'
- Ig = 'instagram'
- OneC = '1c'
- Organic = 'organic'
- Other = 'other'
- Sender = 'sender-mail'
- Vk = 'vk'
- Vkads = 'vkads'
- Ya = 'yandex'
Methods
- getCode() : string|null
- Get code.
- getDescriptionByCode() : string
- Get description.
- getNameByCode() : string
- Get name.
- getShortNameByCode() : string
- Get short name.
Constants
Fb
public
mixed
Fb
= 'fb'
Ga
public
mixed
Ga
= 'google'
Ig
public
mixed
Ig
= 'instagram'
OneC
public
mixed
OneC
= '1c'
Organic
public
mixed
Organic
= 'organic'
Other
public
mixed
Other
= 'other'
Sender
public
mixed
Sender
= 'sender-mail'
Vk
public
mixed
Vk
= 'vk'
Vkads
public
mixed
Vkads
= 'vkads'
Ya
public
mixed
Ya
= 'yandex'
Methods
getCode()
Get code.
public
getCode() : string|null
Return values
string|nullgetDescriptionByCode()
Get description.
public
static getDescriptionByCode([string|null $code = null ][, string|null $name = null ]) : string
Parameters
- $code : string|null = null
-
Code.
- $name : string|null = null
-
Name.
Return values
stringgetNameByCode()
Get name.
public
static getNameByCode(string $code) : string
Parameters
- $code : string
-
Code.
Return values
stringgetShortNameByCode()
Get short name.
public
static getShortNameByCode(string $code) : string
Parameters
- $code : string
-
Code.