PHP Class skeeks\cms\components\Cms

Inheritance: extends skeeks\cms\base\Component
Show file Open project: skeeks-cms/cms Class Usage Examples

Public Properties

Property Type Description
$adminEmail E-Mail администратора сайта (отправитель по умолчанию).
$appName string
$element_max_code_length integer
$languageCode язык по умолчанию
$noImageUrl Это изображение показывается в тех случаях, когда не найдено основное.
$passwordResetTokenExpire сбрасывать токен пароля через час
$registerRoles После регистрации пользователю будут присвоены эти роли
$tmpFolderScheme array Схема временных папок Чистятся в момент нажатия на кнопку чистки временных файлов
$tree_max_code_length integer

Protected Properties

Property Type Description
$_languages
$_tree skeeks\cms\models\Tree

Public Methods

Method Description
attributeLabels ( )
booleanFormat ( ) : array Да/нет
descriptorConfig ( ) : array
generateTmpConfig ( ) : boolean
generateTmpConsoleConfig ( ) : boolean
getCmsLanguage ( ) : array | null | CmsLang
getCurrentTree ( ) : Tree
getLanguages ( )
getModuleAdmin ( ) : null | skeeks\cms\modules\admin\Module
getModuleCms ( ) : null | Module
getRelatedHandler ( string $id ) : PropertyType
getRelatedHandlers ( ) : PropertyType[]
getRelatedHandlersDataForSelect ( ) : array
getSite ( ) : CmsSite
hasRelatedHandler ( string $id ) : boolean Checks if client exists in the hub.
init ( )
logo ( ) : string
renderConfigForm ( ActiveForm $form )
rules ( )
setCurrentTree ( Tree $tree )
setRelatedHandlers ( array $handlers )

Protected Methods

Method Description
createRelatedHandler ( string $id, array $config ) : PropertyType Creates auth client instance from its array configuration.

Method Details

attributeLabels() public method

public attributeLabels ( )

booleanFormat() public method

Да/нет
public booleanFormat ( ) : array
return array

createRelatedHandler() protected method

Creates auth client instance from its array configuration.
protected createRelatedHandler ( string $id, array $config ) : PropertyType
$id string auth client id.
$config array auth client instance configuration.
return skeeks\cms\relatedProperties\PropertyType auth client instance.

descriptorConfig() public static method

public static descriptorConfig ( ) : array
return array

generateTmpConfig() public method

public generateTmpConfig ( ) : boolean
return boolean

generateTmpConsoleConfig() public method

getCmsLanguage() public method

public getCmsLanguage ( ) : array | null | CmsLang
return array | null | skeeks\cms\models\CmsLang

getCurrentTree() public method

public getCurrentTree ( ) : Tree
return skeeks\cms\models\Tree

getLanguages() public method

public getLanguages ( )

getModuleAdmin() public method

public getModuleAdmin ( ) : null | skeeks\cms\modules\admin\Module
return null | skeeks\cms\modules\admin\Module

getModuleCms() public method

public getModuleCms ( ) : null | Module
return null | skeeks\cms\Module

getRelatedHandler() public method

public getRelatedHandler ( string $id ) : PropertyType
$id string service id.
return skeeks\cms\relatedProperties\PropertyType auth client instance.

getRelatedHandlers() public method

public getRelatedHandlers ( ) : PropertyType[]
return skeeks\cms\relatedProperties\PropertyType[] list of handlers.

getRelatedHandlersDataForSelect() public method

getSite() public method

public getSite ( ) : CmsSite
return skeeks\cms\models\CmsSite

hasRelatedHandler() public method

Checks if client exists in the hub.
public hasRelatedHandler ( string $id ) : boolean
$id string client id.
return boolean whether client exist.

init() public method

public init ( )

renderConfigForm() public method

public renderConfigForm ( ActiveForm $form )
$form yii\widgets\ActiveForm

rules() public method

public rules ( )

setCurrentTree() public method

public setCurrentTree ( Tree $tree )
$tree skeeks\cms\models\Tree

setRelatedHandlers() public method

public setRelatedHandlers ( array $handlers )
$handlers array list of handlers

Property Details

$_languages protected property

protected $_languages

$_tree protected property

protected Tree,skeeks\cms\models $_tree
return skeeks\cms\models\Tree

$adminEmail public property

E-Mail администратора сайта (отправитель по умолчанию).
public $adminEmail

$appName public property

public string $appName
return string

$element_max_code_length public property

public int $element_max_code_length
return integer

$languageCode public property

язык по умолчанию
public $languageCode

$noImageUrl public property

Это изображение показывается в тех случаях, когда не найдено основное.
public $noImageUrl

$passwordResetTokenExpire public property

сбрасывать токен пароля через час
public $passwordResetTokenExpire

$registerRoles public property

После регистрации пользователю будут присвоены эти роли
public $registerRoles

$tmpFolderScheme public property

Схема временных папок Чистятся в момент нажатия на кнопку чистки временных файлов
public array $tmpFolderScheme
return array

$tree_max_code_length public property

public int $tree_max_code_length
return integer