fuel/fuel/packages/email/classes/email/driver/mandrill.php
public function set_merge_var($key, $value = null, $rcpt = null)
	{
		is_array($key) or $key = array($key => $value);

		if (is_null($rcpt))
		{
			$this->merge_vars = \Arr::merge($this->merge_vars, $key);
		}
		else
		{
			$merge_vars = \Arr::get($this->rcpt_merge_vars, $rcpt, array());
			$this->rcpt_merge_vars[$rcpt] = \Arr::merge($merge_vars, $key);
		}

		return $this;
	}
public function set_merge_var($key, $value = null, $rcpt = null)
	{
		is_array($key) or $key = array($key => $value);

		if (is_null($rcpt))
		{
			$this->merge_vars = \Arr::merge($this->merge_vars, $key);
		}
		else
		{
			$merge_vars = \Arr::get($this->rcpt_merge_vars, $rcpt, array());
			$this->rcpt_merge_vars[$rcpt] = \Arr::merge($merge_vars, $key);
		}

		return $this;
	}
public function set_merge_var ( $ key , $ value = null , $ rcpt = null ) { is_array ( $ key ) or $ key = array ( $ key => $ value ) ; if ( is_null ( $ rcpt ) ) { $ this -> merge_vars = \ Arr :: merge ( $ this -> merge_vars , $ key ) ; } else { $ merge_vars = \ Arr :: get ( $ this -> rcpt_merge_vars , $ rcpt , array ( ) ) ; $ this -> rcpt_merge_vars [ $ rcpt ] = \ Arr :: merge ( $ merge_vars , $ key ) ; } return $ this ; }
Set one or several merge vars

@param mixed $key   Array for many vars, string for one
@param mixed $value In case of many vars it is ommited
@param mixed $rcpt  Null for global, string for recipient
@return object $this
Set one or several merge vars