Class Image
Representation of a managed image.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
-
ICanBoogie\ActiveRecord
-
Icybee\Modules\Nodes\Node
implements
Brickrouge\CSSClassNames
uses
Brickrouge\CSSClassNamesProperty,
ICanBoogie\ActiveRecord\CreatedAtProperty,
ICanBoogie\ActiveRecord\UpdatedAtProperty
-
Icybee\Modules\Files\File
-
Icybee\Modules\Images\Image
Located at vendor/icanboogie-modules/images/lib/activerecords/image.php
Methods summary
public
|
|
public
string
|
|
public
integer
|
#
save( )
If |
protected
integer
|
#
get_surface( )
Returns the surface of the image, computed from the |
Methods inherited from Icybee\Modules\Files\File
Methods inherited from Icybee\Modules\Nodes\Node
__get(),
alter_persistent_properties(),
get_constructor(),
get_css_class_names(),
get_language(),
get_site(),
get_slug(),
get_user(),
lazy_get_native(),
lazy_get_next(),
lazy_get_previous(),
lazy_get_translation(),
lazy_get_translations(),
lazy_get_translations_keys(),
set_site(),
set_user(),
translation()
Methods inherited from ICanBoogie\ActiveRecord
__sleep(),
delete(),
get_model(),
get_model_id()
Methods inherited from ICanBoogie\Object
from(),
resolve_facade_properties(),
resolve_private_properties(),
to_array(),
to_json()
Methods inherited from ICanBoogie\ToArrayRecursive
Methods inherited from Brickrouge\CSSClassNames
Methods used from Brickrouge\CSSClassNamesProperty
Methods used from ICanBoogie\ActiveRecord\CreatedAtProperty
get_created_at(),
set_created_at()
Methods used from ICanBoogie\ActiveRecord\UpdatedAtProperty
get_updated_at(),
set_updated_at()
Methods used from ICanBoogie\ToArrayRecursiveTrait
Methods used from ICanBoogie\PrototypeTrait
__call(),
__set(),
__wakeup(),
get_prototype(),
has_method(),
has_property(),
last_chance_get(),
last_chance_set()
Magic methods summary
public
|
Constants summary
string |
WIDTH
|
'width' |
|
string |
HEIGHT
|
'height' |
|
string |
ALT
|
'alt' |
Constants inherited from Icybee\Modules\Files\File
DESCRIPTION,
HTTP_FILE,
MIME,
PATH,
SIZE
Constants inherited from Icybee\Modules\Nodes\Node
CONSTRUCTOR,
CREATED_AT,
IS_ONLINE,
LANGUAGE,
NATIVEID,
NID,
SITEID,
SLUG,
TITLE,
UID,
UPDATED_AT,
UUID
Properties summary
public
integer
|
$width |
#
Width of the image in pixels. |
public
integer
|
$height |
#
Height of the image in pixels. |
public
string
|
$alt |
#
Alternative text, used when the image cannot be displayed. |
Properties inherited from Icybee\Modules\Files\File
$description,
$mime,
$path,
$size
Properties inherited from Icybee\Modules\Nodes\Node
$constructor,
$is_online,
$language,
$nativeid,
$nid,
$siteid,
$slug,
$title,
$uid,
$uuid
Properties inherited from ICanBoogie\ActiveRecord
Magic properties
public read-only
integer
|
$surface | |
#
The surface of the image, computed from the |
public read-only
|
$consumer | |
#
The node to which the image is associated. |
Magic properties inherited from Icybee\Modules\Files\File
Magic properties inherited from Icybee\Modules\Nodes\Node
$created_at,
$css_class,
$native,
$next,
$previous,
$site,
$translation,
$updated_at,
$user