projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NFC] Remove some more of the old cvs blocks
[civicrm-core.git]
/
Civi
/
Api4
/
Action
/
Setting
/
Set.php
diff --git
a/Civi/Api4/Action/Setting/Set.php
b/Civi/Api4/Action/Setting/Set.php
index b4d3727a0ea9f9c656369c7a1a95703bda00e378..cd8413331f7341b059ac3332c27b0c1b3400bb8d 100644
(file)
--- a/
Civi/Api4/Action/Setting/Set.php
+++ b/
Civi/Api4/Action/Setting/Set.php
@@
-10,14
+10,6
@@
+--------------------------------------------------------------------+
*/
+--------------------------------------------------------------------+
*/
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
- */
-
namespace Civi\Api4\Action\Setting;
use Civi\Api4\Generic\Result;
namespace Civi\Api4\Action\Setting;
use Civi\Api4\Generic\Result;
@@
-27,7
+19,6
@@
use Civi\Api4\Generic\Result;
*
* @method array getValues
* @method $this setValues(array $value)
*
* @method array getValues
* @method $this setValues(array $value)
- * @method $this addValue(string $name, mixed $value)
*/
class Set extends AbstractSettingAction {
*/
class Set extends AbstractSettingAction {
@@
-60,4
+51,15
@@
class Set extends AbstractSettingAction {
}
}
}
}
+ /**
+ * Add an item to the values array
+ * @param string $settingName
+ * @param mixed $value
+ * @return $this
+ */
+ public function addValue($settingName, $value) {
+ $this->values[$settingName] = $value;
+ return $this;
+ }
+
}
}