public function PictureMapping::toArray in Picture 7.2
Returns an array of all property values.
Return value
mixed[] An array of property values, keyed by property name.
1 call to PictureMapping::toArray()
- PictureMapping::save in includes/
PictureMapping.php - Save the picture mapping.
File
- includes/
PictureMapping.php, line 109 - Picture Mapping class.
Class
- PictureMapping
- Picture mapping class.
Code
public function toArray() {
return array(
'machine_name' => $this->machine_name,
'label' => $this->label,
'breakpoint_group' => $this->breakpoint_group && is_object($this->breakpoint_group) ? $this->breakpoint_group->machine_name : $this->breakpoint_group,
'mapping' => $this->mapping,
);
}