protected function spaces_controller::load_values in Spaces 6.3
Same name and namespace in other branches
- 7.3 plugins/spaces_controller.inc \spaces_controller::load_values()
- 7 plugins/spaces_controller.inc \spaces_controller::load_values()
Wrapper around load_[environment]_values.
1 call to spaces_controller::load_values()
- spaces_controller::get in plugins/
spaces_controller.inc - Get a value for this controller.
File
- plugins/
spaces_controller.inc, line 65
Class
- spaces_controller
- Abstract base class for a spaces controller. Classes that extend spaces_controller must implement load_original_values().
Code
protected function load_values($environment = NULL, $id = NULL) {
switch ($environment) {
case 'original':
return $this
->load_original_values($id);
case 'preset':
return $this
->load_preset_values($id);
case 'space':
return $this
->load_space_values($id);
default:
$this
->load_original_values();
$this
->load_preset_values();
$this
->load_space_values();
break;
}
}