PHP 클래스 Pimcore\Model\Object\ClassDefinition\Data\StructuredTable

상속: extends Pimcore\Model\Object\ClassDefinition\Data
파일 보기 프로젝트 열기: pimcore/pimcore

공개 프로퍼티들

프로퍼티 타입 설명
$cols object
$columnType string Type for the column
$fieldtype string Static type of this element
$height integer
$labelFirstCell string
$labelWidth integer
$phpdocType string Type for the generated phpdoc
$queryColumnType string Type for the column to query
$rows object
$width integer

공개 메소드들

메소드 설명
checkValidity ( mixed $data, boolean $omitMandatoryCheck = false ) Checks if data is valid for current data field
getCols ( ) : object
getColumnType ( ) : array | string
getDataForEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataForGrid ( $data, null $object = null, mixed $params = [] ) : array | null
getDataForQueryResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataForResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataFromEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataFromResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : Pimcore\Model\Object\Data\StructuredTable
getDiffDataForEditMode ( mixed $data, null $object = null, mixed $params = [] ) : array | null See parent class.
getForCsvExport ( AbstractObject $object, array $params = [] ) : string converts object data to a simple string value or CSV Export
getForWebserviceExport ( string $object, mixed $params = [] ) : mixed converts data to be exposed via webservices
getFromCsvImport ( $importValue, null | AbstractObject $object = null, mixed $params = [] ) : mixed | Pimcore\Model\Object\Data\StructuredTable
getFromWebserviceImport ( mixed $value, null $object = null, mixed $params = [], null $idMapper = null ) : mixed | void
getHeight ( ) : integer
getLabelFirstCell ( ) : string
getLabelWidth ( ) : integer
getQueryColumnType ( ) : array | string
getRows ( ) : object
getVersionPreview ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getWidth ( ) : integer
isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean True if change is allowed in edit mode.
isEmpty ( $data ) : boolean
setCols ( object $cols ) : void
setHeight ( integer $height ) : void
setLabelFirstCell ( $labelFirstCell )
setLabelWidth ( integer $labelWidth ) : void
setRows ( object $rows ) : void
setWidth ( integer $width )
sort ( $a, $b )
synchronizeWithMasterDefinition ( Data $masterDefinition )

보호된 메소드들

메소드 설명
calculateDbColumns ( ) : array
typeMapper ( $type, $length = null ) : string | null

메소드 상세

calculateDbColumns() 보호된 메소드

protected calculateDbColumns ( ) : array
리턴 array

checkValidity() 공개 메소드

Checks if data is valid for current data field
public checkValidity ( mixed $data, boolean $omitMandatoryCheck = false )
$data mixed
$omitMandatoryCheck boolean

getCols() 공개 메소드

public getCols ( ) : object
리턴 object

getColumnType() 공개 메소드

public getColumnType ( ) : array | string
리턴 array | string

getDataForEditmode() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getDataForEditmode
public getDataForEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDataForGrid() 공개 메소드

public getDataForGrid ( $data, null $object = null, mixed $params = [] ) : array | null
$data
$object null
$params mixed
리턴 array | null

getDataForQueryResource() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getDataForQueryResource
public getDataForQueryResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDataForResource() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getDataForResource
public getDataForResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDataFromEditmode() 공개 메소드

또한 보기: Model\Object\ClassDefinition\Data::getDataFromEditmode
public getDataFromEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDataFromResource() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getDataFromResource
public getDataFromResource ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : Pimcore\Model\Object\Data\StructuredTable
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 Pimcore\Model\Object\Data\StructuredTable

getDiffDataForEditMode() 공개 메소드

See parent class.
public getDiffDataForEditMode ( mixed $data, null $object = null, mixed $params = [] ) : array | null
$data mixed
$object null
$params mixed
리턴 array | null

getForCsvExport() 공개 메소드

converts object data to a simple string value or CSV Export
public getForCsvExport ( AbstractObject $object, array $params = [] ) : string
$object Pimcore\Model\Object\AbstractObject
$params array
리턴 string

getForWebserviceExport() 공개 메소드

converts data to be exposed via webservices
public getForWebserviceExport ( string $object, mixed $params = [] ) : mixed
$object string
$params mixed
리턴 mixed

getFromCsvImport() 공개 메소드

public getFromCsvImport ( $importValue, null | AbstractObject $object = null, mixed $params = [] ) : mixed | Pimcore\Model\Object\Data\StructuredTable
$importValue
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 mixed | Pimcore\Model\Object\Data\StructuredTable

getFromWebserviceImport() 공개 메소드

public getFromWebserviceImport ( mixed $value, null $object = null, mixed $params = [], null $idMapper = null ) : mixed | void
$value mixed
$object null
$params mixed
$idMapper null
리턴 mixed | void

getHeight() 공개 메소드

public getHeight ( ) : integer
리턴 integer

getLabelFirstCell() 공개 메소드

public getLabelFirstCell ( ) : string
리턴 string

getLabelWidth() 공개 메소드

public getLabelWidth ( ) : integer
리턴 integer

getQueryColumnType() 공개 메소드

public getQueryColumnType ( ) : array | string
리턴 array | string

getRows() 공개 메소드

public getRows ( ) : object
리턴 object

getVersionPreview() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getVersionPreview
public getVersionPreview ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getWidth() 공개 메소드

public getWidth ( ) : integer
리턴 integer

isDiffChangeAllowed() 공개 메소드

True if change is allowed in edit mode.
public isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean
$object string
$params mixed
리턴 boolean

isEmpty() 공개 메소드

public isEmpty ( $data ) : boolean
$data
리턴 boolean

setCols() 공개 메소드

public setCols ( object $cols ) : void
$cols object
리턴 void

setHeight() 공개 메소드

public setHeight ( integer $height ) : void
$height integer
리턴 void

setLabelFirstCell() 공개 메소드

public setLabelFirstCell ( $labelFirstCell )
$labelFirstCell

setLabelWidth() 공개 메소드

public setLabelWidth ( integer $labelWidth ) : void
$labelWidth integer
리턴 void

setRows() 공개 메소드

public setRows ( object $rows ) : void
$rows object
리턴 void

setWidth() 공개 메소드

public setWidth ( integer $width )
$width integer

sort() 공개 메소드

public sort ( $a, $b )

synchronizeWithMasterDefinition() 공개 메소드

public synchronizeWithMasterDefinition ( Data $masterDefinition )
$masterDefinition Pimcore\Model\Object\ClassDefinition\Data

typeMapper() 보호된 메소드

protected typeMapper ( $type, $length = null ) : string | null
$type string text|number|bool
$length int The length of the column, default is 255 for text
리턴 string | null

프로퍼티 상세

$cols 공개적으로 프로퍼티

public object $cols
리턴 object

$columnType 공개적으로 프로퍼티

Type for the column
public string $columnType
리턴 string

$fieldtype 공개적으로 프로퍼티

Static type of this element
public string $fieldtype
리턴 string

$height 공개적으로 프로퍼티

public int $height
리턴 integer

$labelFirstCell 공개적으로 프로퍼티

public string $labelFirstCell
리턴 string

$labelWidth 공개적으로 프로퍼티

public int $labelWidth
리턴 integer

$phpdocType 공개적으로 프로퍼티

Type for the generated phpdoc
public string $phpdocType
리턴 string

$queryColumnType 공개적으로 프로퍼티

Type for the column to query
public string $queryColumnType
리턴 string

$rows 공개적으로 프로퍼티

public object $rows
리턴 object

$width 공개적으로 프로퍼티

public int $width
리턴 integer