/** * Use the entry's title as its string representation. * * @return string */ public function __toString() { if (isset($this->_transform)) { return $this->getUrl(); } else { return parent::__toString(); } }