fewbricks\bricks\brick::get_data_group PHP Method

get_data_group() public method

Use this to get an entire group of data.
public get_data_group ( $group_name, boolean $default_value = false, boolean $prepend_this_name = true ) : boolean | mixed
$group_name string The name of the group.
$default_value boolean If the group could not be found, this value will be returned.
$prepend_this_name boolean If the name of the brick should be prepended on the group name.
return boolean | mixed
    public function get_data_group($group_name, $default_value = false, $prepend_this_name = true)
    {
        return $this->get_data_item($group_name, $prepend_this_name, false, $default_value);
    }