Methods summary
public
array
|
#
GetValues( integer $propsFlags = 0, boolean $getNullValues = FALSE )
Parameters
- $propsFlags
All properties flags are available except flags:
- \MvcCore\IModel::PROPS_INITIAL_VALUES ,
- \MvcCore\IModel::PROPS_CONVERT_CASE_INSENSITIVE ,
- \MvcCore\IModel::PROPS_NAMES_BY_* .
- $getNullValues
If TRUE , include also values with NULL s,
FALSE by default.
Returns
array
Throws
InvalidArgumentException
Inheritdocs
|
public
MvcCore\Model
|
#
SetValues( array $data = [], integer $propsFlags = 0 )
Parameters
- $data
- Raw data from database (row) or from form fields.
- $propsFlags
- All properties flags are available.
Returns
Throws
InvalidArgumentException
Inheritdocs
|
public
array
|
#
GetTouched( integer $propsFlags = 0 )
Parameters
- $propsFlags
All properties flags are available except flags:
- \MvcCore\IModel::PROPS_INITIAL_VALUES ,
- \MvcCore\IModel::PROPS_CONVERT_CASE_INSENSITIVE .
Returns
array
Throws
InvalidArgumentException
Inheritdocs
|