Image
+ Inheritance diagram for Image:

Description

A collection image.

See also
CustomCollection
SmartCollection

Public Methods

magic string getAlt ()
 
magic string getCreatedAt ()
 
magic int getHeight ()
 
magic string getSrc ()
 
magic int getWidth ()
 
magic $this setAlt (string $alt)
 
magic $this setAttachment (string $base64)
 
magic $this setSrc ()
 
- Public Methods inherited from Data
mixed __call (string $method, array $args)
 
 __construct ($caller, array $data=[])
 
string serialize ()
 Dehydrated JSON encode. More...
 
array toArray ()
 
void unserialize ($serialized)
 

Additional Inherited Members

- Public Properties inherited from Data
const MAP = []
 
const PATCH = []
 
- Protected Properties inherited from Data
Api $api
 
Pool $pool
 
- Protected Methods inherited from Data
mixed _hydrate (string $class, $item)
 A factory that also hydrates / caches entities. More...
 
array _select ($subject, callable $filter,... $args)
 Magic method: selectField(callable $filter) More...
 
$this _setData (array $data)
 Clears all diffs and sets all data, hydrating mapped fields. More...
 
$this _setField (string $field, $value)
 Sets a value, hydrating if mapped, and clears the diff. More...
 

Methods

◆ getAlt()

magic string getAlt ( )
Returns
string

◆ getCreatedAt()

magic string getCreatedAt ( )
Returns
string

◆ getHeight()

magic int getHeight ( )
Returns
int

◆ getSrc()

magic string getSrc ( )
Returns
string

◆ getWidth()

magic int getWidth ( )
Returns
int

◆ setAlt()

magic $this setAlt ( string  $alt)
Returns
$this

◆ setAttachment()

magic $this setAttachment ( string  $base64)
Returns
$this

◆ setSrc()

magic $this setSrc ( )
Returns
$this