/** * Übernimmt die übergebenen Parameter oder holt diese aus den Post Daten * @param array $options */ public function __construct(array $options = null) { if (isset($options)) { $this->setOptions($options + array('jsonrpc' => '2.0')); } else { parent::__construct(); } }
public function __construct() { try { parent::__construct(); } catch (Zend_Json_Exception $e) { $this->_isParseError = true; } }