*/
class CRM_Core_Reference_OptionValue extends CRM_Core_Reference_Basic {
/**
- * @var string option-group-name
+ * Option group name.
+ *
+ * @var string
*/
protected $targetOptionGroupName;
* @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;
}