public function hasContent() { if (!$this->_getRow()->text) { return false; } return parent::hasContent(); }
public function hasContent() { $ret = parent::hasContent(); if ($ret) { return $ret; } return $this->getData()->getChildComponent('-image')->hasContent(); }