PHP 클래스 skeeks\cms\models\CmsComponentSettings

상속: extends Core
파일 보기 프로젝트 열기: skeeks-cms/cms 1 사용 예제들

공개 메소드들

메소드 설명
attributeLabels ( ) : array
baseQuery ( Component $component ) : ActiveQuery
baseQuerySites ( Component $component ) : ActiveQuery
baseQueryUsers ( Component $component ) : ActiveQuery
behaviors ( ) : array
createByComponentDefault ( Component $component ) : static
createByComponentSiteCode ( Component $component, string $site_code ) : static
createByComponentUserId ( Component $component, integer $user_id ) : static
fetchByComponentDefault ( Component $component ) : static Получение настроек для компонента
fetchByComponentSite ( Component $component, CmsSite $site ) : static Получение настроек для компонента по коду сайта.
fetchByComponentSiteCode ( Component $component, string $site_code ) : static Получение настроек для компонента по коду сайта.
fetchByComponentUser ( Component $component, $user ) : static Получение настроек для компонента по коду сайта.
fetchByComponentUserId ( Component $component, integer $user_id ) : static Получение настроек для компонента, и пользователя.
getLang ( ) : ActiveQuery
getSite ( ) : ActiveQuery
getUser ( ) : ActiveQuery
rules ( ) : array
setSettingValue ( $settingAttribute, $settingValue )
tableName ( )

메소드 상세

attributeLabels() 공개 메소드

public attributeLabels ( ) : array
리턴 array

baseQuery() 공개 정적인 메소드

public static baseQuery ( Component $component ) : ActiveQuery
$component skeeks\cms\base\Component
리턴 yii\db\ActiveQuery

baseQuerySites() 공개 정적인 메소드

public static baseQuerySites ( Component $component ) : ActiveQuery
$component skeeks\cms\base\Component
리턴 yii\db\ActiveQuery

baseQueryUsers() 공개 정적인 메소드

public static baseQueryUsers ( Component $component ) : ActiveQuery
$component skeeks\cms\base\Component
리턴 yii\db\ActiveQuery

behaviors() 공개 메소드

public behaviors ( ) : array
리턴 array

createByComponentDefault() 공개 정적인 메소드

public static createByComponentDefault ( Component $component ) : static
$component skeeks\cms\base\Component
리턴 static

createByComponentSiteCode() 공개 정적인 메소드

public static createByComponentSiteCode ( Component $component, string $site_code ) : static
$component skeeks\cms\base\Component
$site_code string
리턴 static

createByComponentUserId() 공개 정적인 메소드

public static createByComponentUserId ( Component $component, integer $user_id ) : static
$component skeeks\cms\base\Component
$user_id integer
리턴 static

fetchByComponentDefault() 공개 정적인 메소드

Получение настроек для компонента
public static fetchByComponentDefault ( Component $component ) : static
$component skeeks\cms\base\Component
리턴 static

fetchByComponentSite() 공개 정적인 메소드

Получение настроек для компонента по коду сайта.
public static fetchByComponentSite ( Component $component, CmsSite $site ) : static
$component skeeks\cms\base\Component компонент с настройками
$site CmsSite код сайта
리턴 static

fetchByComponentSiteCode() 공개 정적인 메소드

Получение настроек для компонента по коду сайта.
public static fetchByComponentSiteCode ( Component $component, string $site_code ) : static
$component skeeks\cms\base\Component компонент с настройками
$site_code string код сайта
리턴 static

fetchByComponentUser() 공개 정적인 메소드

Получение настроек для компонента по коду сайта.
public static fetchByComponentUser ( Component $component, $user ) : static
$component skeeks\cms\base\Component компонент с настройками
리턴 static

fetchByComponentUserId() 공개 정적인 메소드

Получение настроек для компонента, и пользователя.
public static fetchByComponentUserId ( Component $component, integer $user_id ) : static
$component skeeks\cms\base\Component компонент с настройками
$user_id integer id пользователя
리턴 static

getLang() 공개 메소드

public getLang ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

getSite() 공개 메소드

public getSite ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

getUser() 공개 메소드

public getUser ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

rules() 공개 메소드

public rules ( ) : array
리턴 array

setSettingValue() 공개 메소드

public setSettingValue ( $settingAttribute, $settingValue )
$settingAttribute

tableName() 공개 정적인 메소드

public static tableName ( )