Метод |
Описание |
|
checkValidity ( mixed $data, boolean $omitMandatoryCheck = false ) |
Checks if data is valid for current data field |
|
getDataForEditmode ( boolean $data, null | AbstractObject $object = null, mixed $params = [] ) : boolean |
|
|
getDataForQueryResource ( boolean $data, null | AbstractObject $object = null, mixed $params = [] ) : boolean |
|
|
getDataForResource ( boolean $data, null | AbstractObject $object = null, mixed $params = [] ) : integer |
|
|
getDataFromEditmode ( boolean $data, null | AbstractObject $object = null, mixed $params = [] ) : boolean |
|
|
getDataFromResource ( boolean $data, null | AbstractObject $object = null, mixed $params = [] ) : boolean |
|
|
getDefaultValue ( ) : integer |
|
|
getFilterCondition ( $value, $operator ) : string |
returns sql query statement to filter according to this data types value(s) |
|
getFilterConditionExt ( $value, $operator, $params = [] ) : string |
returns sql query statement to filter according to this data types value(s) |
|
getForCsvExport ( AbstractObject $object, array $params = [] ) : string |
converts object data to a simple string value or CSV Export |
|
getForWebserviceExport ( $object, $params = [] ) |
|
|
getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : Data |
fills object field data values from CSV Import String |
|
getFromWebserviceImport ( mixed $value, null | AbstractObject $object = null, mixed $params = [], $idMapper = null ) : mixed |
converts data to be imported via webservices |
|
getVersionPreview ( boolean $data, null | AbstractObject $object = null, mixed $params = [] ) : boolean |
|
|
isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean |
True if change is allowed in edit mode. |
|
setDefaultValue ( integer $defaultValue ) |
|
|
synchronizeWithMasterDefinition ( Data $masterDefinition ) |
|
|