view =safe_GET('view', 'preview'); $this->action =safe_GET('action'); $this->show_changes=safe_GET('show_changes', 'no', 'yes')=='yes'; // if not specified, then default to "yes" } /** * check if this controller should be in print preview mode */ function isPrintPreview() { return $this->view=='preview'; } } ?>