public function __toString() { try { if ($this->getType() == 'Gallery') { return $this->galleryToString(); } } catch (Exception $e) { return $e->__toString(); } return parent::__toString(); }
public function __toString() { try { if ($this->getType() == 'Gallery') { return $this->galleryToString(); } } catch (Exception $e) { return $e->__toString(); } return parent::__toString(); }