public function PictureMapping::__get in Picture 7.2
Is utilized for reading data from inaccessible properties.
File
- includes/
PictureMapping.php, line 330 - Picture Mapping class.
Class
- PictureMapping
- Picture mapping class.
Code
public function __get($name) {
switch ($name) {
case 'machine_name':
return $this
->getMachineName();
case 'label':
return $this
->label();
case 'mapping':
return $this
->getMappings();
case 'breakpoint_group':
if ($this->isExporting) {
return $this->breakpoint_group;
}
return $this
->getBreakpointGroup();
default:
return $this->{$name};
}
}