示例#1
0
 public function __toString()
 {
     if (method_exists($this->_renderer, '__toString')) {
         return $this->_renderer->__toString();
     }
     trigger_error("Fatal error: Object of class " . get_class($this->_renderer) . " could not be converted to string", E_USER_ERROR);
 }