public function setFormat($format = null) { if ($format == null) { return false; } $this->format = $format; return true; }