You are here

protected function spaces_controller::reset_values in Spaces 6.3

Same name and namespace in other branches
  1. 7.3 plugins/spaces_controller.inc \spaces_controller::reset_values()
  2. 7 plugins/spaces_controller.inc \spaces_controller::reset_values()

Clear out loaded values.

2 calls to spaces_controller::reset_values()
spaces_controller::init_overrides in plugins/spaces_controller.inc
Initialize overrides. Assume this controller is now active. This method is re-run when the caller wants to ensure the values provided by the controller are refreshed.
spaces_controller_variable::init_overrides in plugins/spaces_controller_variable.inc
Override of init_overrides().

File

plugins/spaces_controller.inc, line 57

Class

spaces_controller
Abstract base class for a spaces controller. Classes that extend spaces_controller must implement load_original_values().

Code

protected function reset_values($environment) {
  $this->loaded[$environment] = array();
  $this->loaded_all[$environment] = FALSE;
}