/** * Checks whether response has an error. * @return boolean * @since 3 */ protected function _isError($aProducts) { if (isset($aProducts['Error']['Code'])) { return true; } if (isset($aProducts['Items']['Request']['Errors'])) { return true; } return parent::_isError($aProducts); }
/** * Sets up properties. */ public function __construct($aoUnitOptions = array()) { parent::__construct($aoUnitOptions); $this->_setProperties(); }