You are here

protected function PictureMapping::loadBreakpointGroup in Picture 7.2

Loads the breakpoint group.

5 calls to PictureMapping::loadBreakpointGroup()
PictureMapping::export in includes/PictureMapping.php
Export this PictureMapping.
PictureMapping::getBreakpointGroup in includes/PictureMapping.php
Get the breakpoint group.
PictureMapping::save in includes/PictureMapping.php
Save the picture mapping.
PictureMapping::setBreakpointGroup in includes/PictureMapping.php
Set the breakpoint group.
PictureMapping::setValues in includes/PictureMapping.php
Set data values based on schema.

File

includes/PictureMapping.php, line 136
Picture Mapping class.

Class

PictureMapping
Picture mapping class.

Code

protected function loadBreakpointGroup() {
  if ($this->breakpoint_group && !is_object($this->breakpoint_group)) {
    $breakpoint_group = breakpoints_breakpoint_group_load($this->breakpoint_group);
    $this->breakpoint_group = $breakpoint_group;
  }
}