Append Output

Appends data onto the output string

@access public
@param
string
@return void
516416
function appendOutput($output) {
		if ($this->finalOutput == '') {
			$this->finalOutput = $output;
		} else {
			$this->finalOutput .= $output;
		}
		
		return $this;
	}
110678
public function append(array $row): void
    {
        if ($this->returnType === self::TYPE_ARRAYOBJECT) {
            $this->storage[] = new ArrayObject($row);
        } else {
            $this->storage[] = $row;
        }
        ++$this->count;
    }
320604
private void append(final StringBuilder builder, final String string,
            final String separator) {
        if (string != null) {
            builder.append(string);
        }
        builder.append(separator);
    }
952114
public function append()
    {
        if (!$this->hasMultiHandle()) {
            $this->setMultiHandle(curl_multi_init());
        }

        // init
        $this
            ->initOption()
            ->buildBody();

        $curl = curl_init();
        curl_setopt_array($curl, $this->getOptions());
        curl_multi_add_handle($this->getMultiHandle(), $curl);

        $this->curls[] = $curl;
    }
778753
public function append($name, $value = null)
    {
        if (is_array($name)) {
            foreach ($name as $key => $val) {
                if (isset($this->_vars[$key])) {
                    $this->_vars[$key] .= $val;
                } else {
                    $this->_vars[$key] = $val;
                }
            }
        } else {
            if (isset($this->_vars[$name])) {
                $this->_vars[$name] .= $value;
            } else {
                $this->_vars[$name] = $value;
            }
        }
    }
358276
public function prepend(): void
    {
        $script = $this->parseArgs(func_get_args());
        if ($script !== false) {
            array_unshift($this->members, $script);
        }
    }
907568
function loadString($source)
    {
        $this->setDimensions($this->max_x + 1, $this->max_y + 1);
        $this->appendString($source);
    }
60399
public function addHeader ($string, $prepend = false)
		{
			if ($prepend) {
				$this->prependHeader($string);
			} else {
				$this->headers[] = $string;
			}
		}
1246636
public void append(char c[], int off, int len) throws IOException {
	append(new String(c, off, len));
    }
747740
public function append($model)
    {
        $this->models[] = (array)$model;
        if (count($this->models) > 0) {
            $this->model = $this->models[0];
        }
    }
922336
static function append_file($file_path_and_name, $file_content, $overwrite = false)
    {
        echo ("Appending the file: ".$file_path_and_name.PHP_EOL);
        if ($overwrite) {
            file_put_contents($file_path_and_name, $file_content);
        } else {
            file_put_contents($file_path_and_name, $file_content, FILE_APPEND);
        }
    }
620053
public function append()
    {
        $args = func_get_args();
        foreach ($args as $arg) {
            if ($arg instanceof Element) {
                if ($arg->_used) {
                    continue;
                }
                $arg->_used = true;
            }
            $this->_html[] = $arg;
        }
    }
1182198
public function stdout($string)
    {
        if (Yii::$app->request->isConsoleRequest) {
            if (Console::streamSupportsAnsiColors(STDOUT)) {
                $args = func_get_args();
                array_shift($args);
                $string = Console::ansiFormat($string, $args);
            }

            Console::stdout($string . "\n");
        }
    }
1160676
function _append($data)
    {
        if ($this->_using_tmpfile) {
            // Add CONTINUE records if necessary
            if (strlen($data) > $this->_limit) {
                $data = $this->_addContinue($data);
            }
            fwrite($this->_filehandle, $data);
            $this->_datasize += strlen($data);
        } else {
            parent::_append($data);
        }
    }
64892
protected void append(String v) {
        try {
            writer.write(v);
        } catch (Exception e) {
            throw MwsUtl.wrap(e);
        }
    }
1070251
function output(string) {
    var element = document.createElement("div")
    element.innerHTML = string
    outputElement.appendChild(element)
}
925191
public function output($filename, $append = false)
    {
        $this->outputTo = is_array($filename) ? $filename : [$filename];
        $this->outputMode = $append === false ? 'w' : 'a';

        return $this;
    }