PHP Class skeeks\cms\models\CmsSite

Inheritance: extends Core, use trait skeeks\cms\traits\ValidateRulesTrait
Afficher le fichier Open project: skeeks-cms/cms Class Usage Examples

Méthodes publiques

Свойство Type Description
$sites

Méthodes publiques

Méthode Description
attributeLabels ( )
beforeDeleteRemoveTree ( )
beforeInsertChecks ( Event $e )
beforeUpdateChecks ( Event $e )
behaviors ( )
createTreeAfterInsert ( Event $e )
getByCode ( (string) $code ) : static
getCmsSiteDomains ( ) : ActiveQuery
getCmsTrees ( ) : ActiveQuery
getImage ( ) : ActiveQuery
getUrl ( ) : string TODO: добавить настройку схемы в будущем.
init ( )
rules ( )
tableName ( )

Method Details

attributeLabels() public méthode

public attributeLabels ( )

beforeDeleteRemoveTree() public méthode

beforeInsertChecks() public méthode

public beforeInsertChecks ( Event $e )
$e yii\base\Event

beforeUpdateChecks() public méthode

public beforeUpdateChecks ( Event $e )
$e yii\base\Event

behaviors() public méthode

public behaviors ( )

createTreeAfterInsert() public méthode

public createTreeAfterInsert ( Event $e )
$e yii\base\Event

getByCode() public static méthode

public static getByCode ( (string) $code ) : static
$code (string)
Résultat static

getCmsSiteDomains() public méthode

public getCmsSiteDomains ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

getCmsTrees() public méthode

public getCmsTrees ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

getImage() public méthode

public getImage ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

getUrl() public méthode

TODO: добавить настройку схемы в будущем.
public getUrl ( ) : string
Résultat string

init() public méthode

public init ( )

rules() public méthode

public rules ( )

tableName() public static méthode

public static tableName ( )

Property Details

$sites public_oe static_oe property

public static $sites