/** * Return result of deploy(). * * string|boolean FALSE if deploy() was not called before * * @return string */ public function __toString() { if (is_null($this->_deploymentContent)) { $this->log("You should call deploy() before ", Zend_Log::WARN); // TODO !!! maybe we should simply call deploy() here // TODO enable this line after DataGrid will be fixed // return false; return parent::__toString(); } else { return $this->_deploymentContent; } }