<?php
/**
+ * @file
* File for the CiviCRM APIv3 API wrapper
*
* @package CiviCRM_APIv3
- * @subpackage API
*
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
*/
/**
private $extraParams = array();
/**
+ * Class constructor.
+ *
* @param string $message
* The human friendly error message.
* @param mixed $error_code
$this->extraParams = $extraParams + array('error_code' => $error_code);
}
- // custom string representation of object
/**
+ * Custom string representation of object.
+ *
* @return string
*/
public function __toString() {
}
/**
+ * Get extra parameters.
+ *
* @return array
*/
public function getExtraParams() {
}
/**
+ * Get error codes.
+ *
* @return array
*/
public function getErrorCodes() {
self::NOT_IMPLEMENTED => 'Entity or method is not implemented',
);
}
+
}
/**
private $extraParams = array();
/**
+ * Class constructor.
+ *
* @param string $message
* The human friendly error message.
* @param mixed $error_code
$this->extraParams = $extraParams + array('error_code' => $error_code);
}
- // custom string representation of object
/**
+ * Custom string representation of object.
+ *
* @return string
*/
public function __toString() {
}
/**
+ * Get error code.
+ *
* @return mixed
*/
public function getErrorCode() {
}
/**
+ * Get extra parameters.
+ *
* @return array
*/
public function getExtraParams() {
return $this->extraParams;
}
+
}