Class ActiveRecord
Active Record facilitates the creation and use of business objects whose data require persistent storage via database.
- ICanBoogie\Prototyped
-
ICanBoogie\ActiveRecord
Methods summary
public
|
#
__construct( string|
Initializes the $model and |
public
|
|
public
array
|
#
__debugInfo( )
Removes |
protected
|
|
protected
string
|
|
protected
boolean
|
|
public
boolean|integer
|
|
public
|
|
public
array
|
|
protected
array
|
#
alter_persistent_properties( array $properties,
Unless it's an acceptable value for a column, columns with |
protected
|
|
public
boolean
|
Magic methods summary
public
ICanBoogie\Validate\ValidationErrors
|
Constants summary
string |
SAVE_SKIP_VALIDATION
|
#
'skip_validation'
|
string |
MODEL_ID
The identifier of the model managing the record. |
#
null
|
Magic properties
public read-only
|
$model
The model managing the active record. |
public read-only
string
|
$model_id
The identifier of the model managing the active record. |
public read-only
boolean
|
$is_new
Whether the record is new or not. |