Class Constructor
This is the super class for all models using the _constructor_ model
(currently "nodes" and "users"). It provides support for the
constructor
property whether it is for saving records or filtering
them through the own
scope.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
- ICanBoogie\ActiveRecord\Table
- ICanBoogie\ActiveRecord\Model implements ArrayAccess
- Icybee\ActiveRecord\Model\Constructor
Direct known subclasses
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\Pages\Model
Located at vendor/icybee/core/lib/activerecord/model.constructor.php
Methods summary
public
|
#
__construct( array $attributes )
Override the constructor to provide support for the |
public
|
|
public
ActiveRecord|array
|
|
public
array
|
|
protected
|
#
scope_own(
Adds the "constructor = <constructor>" condition to the query. |
Methods inherited from ICanBoogie\ActiveRecord\Model
__call()
,
__get()
,
belongs_to()
,
delete()
,
eliminate()
,
get_activerecord_class()
,
get_all()
,
get_count()
,
get_exists()
,
get_id()
,
get_one()
,
has_scope()
,
new_record()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
,
retrieve()
,
scope()
,
store()
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
Magic methods inherited from ICanBoogie\ActiveRecord\Model
all()
,
average()
,
count()
,
exists()
,
group()
,
joins()
,
limit()
,
maximum()
,
minimum()
,
offset()
,
one()
,
order()
,
select()
,
sum()
,
where()
Constants summary
string |
T_CONSTRUCTOR
|
'constructor' |
Constants inherited from ICanBoogie\ActiveRecord\Model
ACTIVERECORD_CLASS
,
BELONGS_TO
,
CLASSNAME
,
ID
,
T_ACTIVERECORD_CLASS
,
T_CLASS
,
T_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
mixed
|
$constructor |
Properties inherited from ICanBoogie\ActiveRecord\Model
$activerecord_class
,
$attributes
Properties inherited from ICanBoogie\ActiveRecord\Table
$alias
,
$connection
,
$implements
,
$name
,
$name_unprefixed
,
$parent
,
$primary
,
$schema
,
$select_join
,
$update_join
Magic properties inherited from ICanBoogie\ActiveRecord\Model
$activerecord_cache
,
$activerecord_class
,
$all
,
$count
,
$exists
,
$id
Magic properties inherited from ICanBoogie\ActiveRecord\Table
$alias
,
$connection
,
$extended_schema
,
$name_unprefixed
,
$parent
,
$primary
,
$schema