+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
namespace Civi\API\Subscriber;
/**
* Return array of defaults for the given API (function is a wrapper on getfields).
+ * @param $fields
+ * @return array
*/
public function getDefaults($fields) {
$defaults = array();
/**
* Return array of required fields for the given API (function is a wrapper on getfields).
+ * @param $fields
+ * @return array
*/
public function getRequired($fields) {
$required = array('version');
}
return $required;
}
+
}