PHP Class skeeks\cms\models\CmsSite

Inheritance: extends Core, use trait skeeks\cms\traits\ValidateRulesTrait
ファイルを表示 Open project: skeeks-cms/cms Class Usage Examples

Public Properties

Property Type Description
$sites

Public Methods

Method 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 method

public attributeLabels ( )

beforeDeleteRemoveTree() public method

beforeInsertChecks() public method

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

beforeUpdateChecks() public method

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

behaviors() public method

public behaviors ( )

createTreeAfterInsert() public method

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

getByCode() public static method

public static getByCode ( (string) $code ) : static
$code (string)
return static

getCmsSiteDomains() public method

public getCmsSiteDomains ( ) : ActiveQuery
return yii\db\ActiveQuery

getCmsTrees() public method

public getCmsTrees ( ) : ActiveQuery
return yii\db\ActiveQuery

getImage() public method

public getImage ( ) : ActiveQuery
return yii\db\ActiveQuery

getUrl() public method

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

init() public method

public init ( )

rules() public method

public rules ( )

tableName() public static method

public static tableName ( )

Property Details

$sites public_oe static_oe property

public static $sites