private function _log_msg($msg) { if ($msg === true) { return $this->log_messages; } else { $this->log_messages[] = $msg; } }