public function getActualOutput() { if (!$this->obActive) { return $this->output; } else { return ob_get_contents(); } }