X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=CRM%2FCore%2FReference%2FOptionValue.php;h=46413212392c93f1ba175eae9c06283a948ef5ba;hb=2265be8bde8b675c6940f4c59927c6612717acb2;hp=9f37cdf9fc4dc804de501cc8608f05a9df61b1f9;hpb=7c295e89bcf11360f18c042a1d21338e7e4f09b4;p=civicrm-core.git diff --git a/CRM/Core/Reference/OptionValue.php b/CRM/Core/Reference/OptionValue.php index 9f37cdf9fc..4641321239 100644 --- a/CRM/Core/Reference/OptionValue.php +++ b/CRM/Core/Reference/OptionValue.php @@ -5,7 +5,9 @@ */ class CRM_Core_Reference_OptionValue extends CRM_Core_Reference_Basic { /** - * @var string option-group-name + * Option group name. + * + * @var string */ protected $targetOptionGroupName; @@ -23,7 +25,7 @@ class CRM_Core_Reference_OptionValue extends CRM_Core_Reference_Basic { * @param string $targetKey * @param null $optionGroupName */ - public function __construct($refTable, $refKey, $targetTable = NULL, $targetKey = 'id', $optionGroupName) { + public function __construct($refTable, $refKey, $targetTable, $targetKey, $optionGroupName) { parent::__construct($refTable, $refKey, $targetTable, $targetKey, NULL); $this->targetOptionGroupName = $optionGroupName; }