Skip to content

Instantly share code, notes, and snippets.

@damiankloip
Created October 1, 2012 08:26
Show Gist options
  • Save damiankloip/3810306 to your computer and use it in GitHub Desktop.
Save damiankloip/3810306 to your computer and use it in GitHub Desktop.
if (isset($this->current_display) && !$status) {
return TRUE;
}
// Unset the display handlers and current dispaly.
elseif($status) {
unset($this->current_display, $this->display_handler, $this->displayHandlers);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment