PHP 클래스 Ip\Internal\Grid\Model\Config

파일 보기 프로젝트 열기: impresspages/impresspages

보호된 프로퍼티들

프로퍼티 타입 설명
$config Config
$configChecked
$fieldObjects Ip\Internal\Grid\Model\Field[]
$multilingual

공개 메소드들

메소드 설명
__construct ( $config )
actions ( )
actionsFilter ( ) : string
afterCreate ( )
afterDelete ( )
afterMove ( )
afterUpdate ( )
allowCreate ( )
allowDelete ( )
allowSearch ( )
allowSort ( )
allowUpdate ( )
beforeCreate ( )
beforeDelete ( )
beforeMove ( )
beforeUpdate ( )
connectionField ( ) : string Get field name responsible for connection of subgrid to the parent grid.
createFilter ( )
createFormFilter ( )
createLanguageFilter ( )
createPosition ( )
deleteWarning ( )
fieldObject ( $field ) : Ip\Internal\Grid\Model\Field
fields ( )
filter ( ) : string Get sql part to be used in where clause
getBreadcrumbField ( )
getField ( $fieldName )
getTitle ( )
idField ( )
isMultilingual ( )
joinQuery ( )
languageCodeField ( )
languageForeignKeyField ( )
languageTableName ( )
layout ( )
orderBy ( $statusVariables )
orderDirection ( $statusVariables )
orderField ( $statusVariables )
pageSize ( $statusVariables )
pageVariableName ( )
pagerSize ( )
preventAction ( )
rawLanguageTableName ( )
rawTableName ( )
selectFields ( )
sortDirection ( )
sortField ( )
subgridConfig ( $statusVariables, $depthLimit = null ) : Config Return nested grid config object
tableName ( )
updateFilter ( )
updateFormFilter ( )
updateLanguageFilter ( )

보호된 메소드들

메소드 설명
checkConfig ( &$config, integer $depth = 1, array $gridBreadcrumb = [] )
getTableFields ( $tableName, $languageTable )

메소드 상세

__construct() 공개 메소드

public __construct ( $config )

actions() 공개 메소드

public actions ( )

actionsFilter() 공개 메소드

public actionsFilter ( ) : string
리턴 string

afterCreate() 공개 메소드

public afterCreate ( )

afterDelete() 공개 메소드

public afterDelete ( )

afterMove() 공개 메소드

public afterMove ( )

afterUpdate() 공개 메소드

public afterUpdate ( )

allowCreate() 공개 메소드

public allowCreate ( )

allowDelete() 공개 메소드

public allowDelete ( )

allowSearch() 공개 메소드

public allowSearch ( )

allowSort() 공개 메소드

public allowSort ( )

allowUpdate() 공개 메소드

public allowUpdate ( )

beforeCreate() 공개 메소드

public beforeCreate ( )

beforeDelete() 공개 메소드

public beforeDelete ( )

beforeMove() 공개 메소드

public beforeMove ( )

beforeUpdate() 공개 메소드

public beforeUpdate ( )

checkConfig() 보호된 메소드

protected checkConfig ( &$config, integer $depth = 1, array $gridBreadcrumb = [] )
$depth integer
$gridBreadcrumb array //to detect loop

connectionField() 공개 메소드

You can think of it as a foreign key in SQL
public connectionField ( ) : string
리턴 string

createFilter() 공개 메소드

public createFilter ( )

createFormFilter() 공개 메소드

public createFormFilter ( )

createLanguageFilter() 공개 메소드

createPosition() 공개 메소드

public createPosition ( )

deleteWarning() 공개 메소드

public deleteWarning ( )

fieldObject() 공개 메소드

public fieldObject ( $field ) : Ip\Internal\Grid\Model\Field
$field
리턴 Ip\Internal\Grid\Model\Field

fields() 공개 메소드

public fields ( )

filter() 공개 메소드

Get sql part to be used in where clause
public filter ( ) : string
리턴 string

getBreadcrumbField() 공개 메소드

public getBreadcrumbField ( )

getField() 공개 메소드

public getField ( $fieldName )

getTableFields() 보호된 메소드

protected getTableFields ( $tableName, $languageTable )

getTitle() 공개 메소드

public getTitle ( )

idField() 공개 메소드

public idField ( )

isMultilingual() 공개 메소드

public isMultilingual ( )

joinQuery() 공개 메소드

public joinQuery ( )

languageCodeField() 공개 메소드

public languageCodeField ( )

languageForeignKeyField() 공개 메소드

languageTableName() 공개 메소드

public languageTableName ( )

layout() 공개 메소드

public layout ( )

orderBy() 공개 메소드

public orderBy ( $statusVariables )

orderDirection() 공개 메소드

public orderDirection ( $statusVariables )

orderField() 공개 메소드

public orderField ( $statusVariables )

pageSize() 공개 메소드

public pageSize ( $statusVariables )

pageVariableName() 공개 메소드

public pageVariableName ( )

pagerSize() 공개 메소드

public pagerSize ( )

preventAction() 공개 메소드

public preventAction ( )

rawLanguageTableName() 공개 메소드

rawTableName() 공개 메소드

public rawTableName ( )

selectFields() 공개 메소드

public selectFields ( )

sortDirection() 공개 메소드

public sortDirection ( )

sortField() 공개 메소드

public sortField ( )

subgridConfig() 공개 메소드

Return nested grid config object
public subgridConfig ( $statusVariables, $depthLimit = null ) : Config
$statusVariables
리턴 Config

tableName() 공개 메소드

public tableName ( )

updateFilter() 공개 메소드

public updateFilter ( )

updateFormFilter() 공개 메소드

public updateFormFilter ( )

updateLanguageFilter() 공개 메소드

프로퍼티 상세

$config 보호되어 있는 프로퍼티

protected Config,Ip\Internal\Grid\Model $config
리턴 Config

$configChecked 보호되어 있는 프로퍼티

protected $configChecked

$fieldObjects 보호되어 있는 프로퍼티

protected Field[],Ip\Internal\Grid\Model $fieldObjects
리턴 Ip\Internal\Grid\Model\Field[]

$multilingual 보호되어 있는 프로퍼티

protected $multilingual