Class Model
Base class for activerecord models.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
- ICanBoogie\ActiveRecord\Table
- ICanBoogie\ActiveRecord\Model implements ArrayAccess
Direct known subclasses
Icybee\ActiveRecord\Model\Constructor
,
Icybee\Modules\Comments\Model
,
Icybee\Modules\Pages\ContentModel
,
Icybee\Modules\Registry\Model
,
Icybee\Modules\Sites\Model
,
Icybee\Modules\Taxonomy\Terms\Model
,
Icybee\Modules\Taxonomy\Vocabulary\Model
,
Icybee\Modules\Users\NonceLogin\TicketModel
,
Icybee\Modules\Users\Roles\Model
Indirect known subclasses
Icybee\Modules\Articles\Model
,
Icybee\Modules\Contents\Model
,
Icybee\Modules\Files\Model
,
Icybee\Modules\Forms\Model
,
Icybee\Modules\Images\Model
,
Icybee\Modules\Members\Model
,
Icybee\Modules\Nodes\Model
,
Icybee\Modules\Pages\Model
,
Icybee\Modules\Users\Model
Methods summary
public
|
#
__construct( array $tags )
Override the constructor to provide support for the |
public
|
|
public
mixed
|
|
public
mixed
|
|
protected
string
|
|
protected
string
|
|
public
|
|
public
|
|
public
boolean
|
|
protected
|
|
protected
|
|
protected
|
|
protected
boolean
|
|
protected
integer
|
|
protected
array[]ActiveRecord
|
|
protected
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
Methods inherited from ICanBoogie\ActiveRecord\Table
__invoke()
,
drop()
,
execute()
,
filter_values()
,
get_alias()
,
get_connection()
,
get_name()
,
get_name_unprefixed()
,
get_parent()
,
get_primary()
,
get_schema()
,
insert()
,
install()
,
is_installed()
,
lazy_get_extended_schema()
,
prepare()
,
query()
,
quote()
,
resolve_statement()
,
save_callback()
,
truncate()
,
uninstall()
,
update()
Methods inherited from ICanBoogie\Object
from()
,
resolve_facade_properties()
,
resolve_private_properties()
,
to_array()
,
to_json()
Methods inherited from ICanBoogie\ToArrayRecursive
Methods used from ICanBoogie\ToArrayRecursiveTrait
Methods used from ICanBoogie\PrototypeTrait
__set()
,
__sleep()
,
__wakeup()
,
get_prototype()
,
has_method()
,
has_property()
,
last_chance_get()
,
last_chance_set()
Magic methods summary
public
|
|
public
|
|
public
|
#
where( mixed $conditions_args = null )
The method is forwarded to |
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
mixed
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
integer
|
|
public
array
|
|
public
|
Constants summary
string |
T_ACTIVERECORD_CLASS
|
'activerecord_class' |
|
string |
T_CLASS
|
'class' |
|
string |
T_ID
|
'id' |
|
string |
ACTIVERECORD_CLASS
|
'activerecord_class' |
|
string |
BELONGS_TO
|
'belongs_to' |
|
string |
CLASSNAME
|
'class' |
|
string |
ID
|
'id' |
Constants inherited from ICanBoogie\ActiveRecord\Table
ALIAS
,
CONNECTION
,
EXTENDING
,
IMPLEMENTING
,
NAME
,
SCHEMA
,
T_ALIAS
,
T_CONNECTION
,
T_EXTENDS
,
T_IMPLEMENTS
,
T_NAME
,
T_SCHEMA
Properties summary
protected
string
|
$activerecord_class |
#
Active record instances class. |
protected
array[string]mixed
|
$attributes |
#
Attributes of the model. |
Properties inherited from ICanBoogie\ActiveRecord\Table
$alias
,
$connection
,
$implements
,
$name
,
$name_unprefixed
,
$parent
,
$primary
,
$schema
,
$select_join
,
$update_join
Magic properties
public
|
$activerecord_cache |
|
#
The cache use to store activerecords. |
public read-only
array
|
$all |
|
#
Retrieve all the records from the model. |
public read-only
string
|
$activerecord_class |
|
#
Class of the active records of the model. |
public read-only
integer
|
$count |
|
#
The number of records of the model. |
public read-only
boolean
|
$exists |
|
#
Whether the SQL table associated with the model exists. |
public read-only
string
|
$id |
|
#
The identifier of the model. |
Magic properties inherited from ICanBoogie\ActiveRecord\Table
$alias
,
$connection
,
$extended_schema
,
$name_unprefixed
,
$parent
,
$primary
,
$schema