Takes the reported values in the incoming Reporter and adds them to this one's
values.

@param $reporter Another Reporter to combine into this one.
549721
public function combine($reporter) {
    $this->passed += $reporter->passed;
    $this->failed += $reporter->failed;
  }
179996
public function addValue($part)
    {
        if (is_null($this->value)) {
            $this->value = $part;
        } else {
            $this->value = array_merge((array) $this->value, (array) $part);
        }
    }
988272
public function logAddition($value)
    {
        if ($this->isOverridden()) {
            return;
        }
        if (isset($this->deleted[$value])) {
            unset($this->deleted[$value]);
            $this->replaced[$value] = $value;
            return;
        }
        if (! isset($this->replaced[$value])) {
            $this->added[$value] = $value;
        }
    }
512814
public function update(Report &$report)
    {
        $data = $report->exportData();
        $endpoint = '/admin/reports/'.$report->id.'.json';
        $response = $this->request(
            $endpoint, 'PUT', array(
            'report' => $data
            )
        );
        $report->setData($response['report']);
    }
1117022
protected <R extends Closeable> R registerReporter(final R reporter) {
		if (this.reporters == null) {
			this.reporters = new HashSet<Closeable>();
		}
		this.reporters.add(reporter);
		return reporter;
	}
990855
public function addReport($report)
    {
        $report = (array) $report;

        foreach ($report as $r) {
            if (!preg_match('/^{([^}]*)}(.*)$/', $r)) {
                throw new DAV\Exception('Reportname must be in clark-notation');
            }
            $this->reports[] = $r;
        }
    }
187017
public function add($documents)
    {

        $pendingRemove = $this->getRemove();
        if ($this->getRemove()) {
            if ($this->all()) {
                throw new \RuntimeException('Adding to group with pending remove is not permitted');
            } else {
                $this->clearAdd();
                $this->clearRemove();
                $this->saved = array();
            }
        }
        if (!is_array($documents)) {
            $documents = array($documents);
        }

        $add =& $this->getArchive()->getByRef('add', array());
        foreach ($documents as $document) {
            $add[] = $document;
        }
    }
279405
public function setReportTypes($s){
        if (is_string($s)){
            $this->resetReportTypes();
            $this->options['ReportTypeList.Type.1'] = $s;
        } else if (is_array($s)){
            $this->resetReportTypes();
            $i = 1;
            foreach ($s as $x){
                $this->options['ReportTypeList.Type.'.$i] = $x;
                $i++;
            }
        } else {
            return false;
        }
    }
39929
public function setReportStatuses($s){
        if (is_string($s)){
            $this->resetReportStatuses();
            $this->options['ReportProcessingStatusList.Status.1'] = $s;
        } else if (is_array($s)){
            $this->resetReportStatuses();
            $i = 1;
            foreach ($s as $x){
                $this->options['ReportProcessingStatusList.Status.'.$i] = $x;
                $i++;
            }
        } else {
            return false;
        }
    }
891425
public function setReport(\Gpupo\CommonSchema\ORM\Entity\Banking\Report\Report $report = null)
    {
        $this->report = $report;

        return $this;
    }
391311
@Cmd
	public Reporter registerReporter(final Reporter reporter) {
		injector.injectMembers(reporter);
		reporters.add(reporter);
		return reporter;
	}
1210011
public function bindValues($values): void
    {
        $params = func_get_args();
        if (isset($params[0]) && is_array($params[0])) {
            $this->bindedValues = new \ArrayObject($params[0]);
        } else {
            $this->bindedValues = new \ArrayObject($params);
        }
    }
932735
public function addValues($values, $prefix = null)
    {    
    	if(!is_array($values))
    	{
    		throw new MailerException('KarisMailer->setValues arrays');
    	}
    	foreach($values as $key => $value)
    	{
    		if(is_array($value))
    		{
    			unset($values[$key]);
    		}
    		elseif(is_object($value))
    		{
    			try
    			{
    				$values[$key] = $value;
    			}
    			catch(\Exception $e)
    			{
    				unset($values[$key]);
    			}
    		}
    		elseif($prefix)
    		{
    			$values[$prefix.$key] = $value;
    			unset($values[$key]);
    		}
    	}
    
    	$this->values = array_merge($this->values, $values);
    
    	return $this;
    }
11646
public function addWord($word, $value = 1)
    {
        if (isset($this->wordsArray[$word])) {
            $this->wordsArray[$word] += $value;
        } else {
            $this->wordsArray[$word] = $value;
        }
    }
251446
public function setReportIds($s){
        if (is_string($s)){
            $this->resetReportIds();
            $this->options['ReportIdList.Id.1'] = $s;
        } else if (is_array($s)){
            $this->resetReportIds();
            $i = 1;
            foreach ($s as $x){
                $this->options['ReportIdList.Id.'.$i] = $x;
                $i++;
            }
        } else {
            return false;
        }
    }
696914
public function addStatistics($statistics)
    {
        if (!is_array($statistics)) {
            $statistics = array($statistics);
        }

        foreach ($statistics as $statistic) {
            $reflect = new \ReflectionClass($statistic);
            $this->statistics[strtolower($reflect->getShortName())] = $statistic;
        }
    }
251650
public function add($values)
    {
        if (! is_array($values) && ! $values instanceof BaseCollection) {
            $values = func_get_args();
        }

        // Once we have made sure our input is an array of values, we will convert
        // them into value model objects (if no model instances are given). When
        // done we will just push all values into the current collection items.
        foreach ($values as $value) {
            $this->push($this->buildValue($value));
        }

        return $this;
    }