メタフィールドを設定します。
@param (string|string[])[]
508062
public function setMetadata(array $metadata)
    {
        $this->metadata = $this->validator->parseMetadata(array_filter($metadata, function ($field): bool {
            // 文字列型以外の (明らかに構文解析済みである) フィールドは構文解析器にかけない
            return is_string($field);
        })) + $metadata;
    }
1331956
protected function promoteSingleStrings(array $string)
	{
		$newString = [];
		foreach ($string as $element)
		{
			if (is_array($element) && count($element) === 1)
			{
				$newString = array_merge($newString, $element[0]);
			}
			else
			{
				$newString[] = $element;
			}
		}

		return $newString;
	}
63727
public static void infoFormatted(final String text, final Object... parameterArray) {
        final String formattedText = String.format(text, parameterArray);

        logWriterInstance.info(formattedText);

        UaiWebSocketLogManager.addLogText("[INFO] " + formattedText);
    }
1001426
@Override
    public void setArray(int parameterIndex, Array x) throws SQLException {
        internalStmt.setArray(parameterIndex, x);
    }
342046
public function paramTag($text, &$data, &$root)
    {
        $explode = preg_split('/[ \t]+/', $text);
        $type = array_shift($explode);
        if ($type) {
            $this->_var = trim(array_shift($explode), '$');
            if ($this->_var) {
                $data['parameters'][$this->_var]['type'] = $type;
            } else {
                $count = isset($data['parameters']) ? count($data['parameters']) : 0;
                $data['parameters']['__unknown'.$count]['type'] = $type;
            }
            $text = join(' ', $explode);
        }
        if ($text != '') {
            parent::tag('@param', $this->_var.' - '.$text, $root);
        } else {
            parent::tag('@param', NULL, $root);
        }
    }
578137
public function callAction(string $action, ?DataMap $params = null): void
    {
        list ($moduleName, $controllerName, $actionName) = $this->getFullAction($action);
        $this->routeInfo->moduleName = $moduleName;
        $this->routeInfo->controllerName = $controllerName;
        $this->routeInfo->actionName = $actionName;
        if ($params != null) {
            $this->routeInfo->params = $params;
        }
        $this->invokeRoute();
    }
1254555
public static void setSqlParams(final SqlContext ctx, final String... paramsArray) {
		Set<String> bindParams = getSqlParams(ctx.getSql());

		for (String element : paramsArray) {
			String[] param = element.split("=");
			String key = param[0];
			if (bindParams.remove(key)) {
				// キーがバインドパラメータに存在するときは値を設定する
				if (param.length == 1) {
					// キーだけの指定は値をnullと扱う
					ctx.param(key, null);
				} else {
					String val = param[1];
					setParam(ctx, key, val);
				}
			}
		}

		// 指定がなかったキーについてはnullを設定する
		bindParams.forEach(s -> ctx.param(s, null));
	}
33459
public function bindParameters(mysqli_stmt $statement, array $parameters)
    {
        // Because mysqli_stmt::bind_param arguments must be passed by reference
        // we need to do a bit of hackery
        $boundNames = [];
        $parametersCount = count($parameters);
        for ($i = 0; $i < $parametersCount; $i++) {
            $boundName = "param$i";
            $$boundName = $parameters[$i];
            $boundNames[] = &$$boundName;
        }
        $statement->bind_param(...$boundNames);
    }
1099245
private function bindParam($stmt)
    {
        // Bind parameters
        for ($i = 1; $i <= count($this->bindings); $i++) {
            $stmt->bindParam($i, $this->bindings[$i - 1]);
        }
    }
909561
protected static function parseArgvIntoParameters(): void
    {
        if (static::$parameters === null) {
            static::$parameters = [];
            $argv = static::getArgv();
            array_shift($argv); // remove the script name, it's not needed
            $sizeof = count($argv);

            for ($i = 0; $i < $sizeof; $i++) {
                $p = $argv[$i];

                if (substr($p, 0, 2) == '--') {
                    $tmp = explode('=', $p);
                    static::$parameters[substr($tmp[0], 2)] = $tmp[1] ?? null;

                } else if (substr($p, 0, 1) == '-' && isset($argv[$i + 1]) && substr($argv[$i + 1], 0, 1) != '-') {
                    static::$parameters[substr($p, 1)] = $argv[$i + 1] ?? null;

                } else if (substr($p, 0, 1) == '-' && preg_match('/^[a-zA-Z]$/', substr($p, 1, 1))) {
                    static::$parameters[substr($p, 1, 1)] = null;

                }

            }
        }
    }
213965
private void setParam(ArrayItemOptions< ? extends IListItemOption> array, JsScope jsScope,
			String string)
	{
		this.array = array;
		this.jsScope = jsScope;
		this.string = string;
	}
1290923
private function string(string $str): void
    {
        $this->sql = $str;
        $this->prepare = $str;
        $this->param = [];
    }
417930
function TraverseXMLize($array, $arrName = "array", $level = 0) {
		if ($level == 0) {
			echo "<pre>";
		}

		while (list($key, $val) = @each($array)) {
			if (is_array($val)) {
				$this->TraverseXMLize($val, $arrName . "[" . $key . "]", $level + 1);
			} else {
				echo '$' . $arrName . '[' . $key . '] = "' . $val . "\"\n";
			}
		}

		if ($level == 0) {
			echo "</pre>";
		}
	}
1189260
protected function bindPartConcat($var, ServerRequestInterface $request, array $parts, &$part)
    {
        if (!is_string($var) || $var[0] !== '~' || substr($var, -1) !== '~') {
            return false;
        }
        
        $pieces = array_map('trim', explode('~', substr($var, 1, -1)));
        $bound = array_filter($this->bind($pieces, $request, $parts));
        $part = [join('', $bound)];
        
        return true;
    }
937147
public void directTo(ByteArray array) {
        if (array != null) {
            array.content = this.content;
            array.count = this.count;
        }
    }
505360
private function _validateParameters ($params)
    {
        if (! isset($params[1])) {
            throw new \Exception('新しく生成するモデルクラス名を指定してください');
        }

        if (! defined('LIB')) {
            throw new \Exception('LIB 定数(libraryディレクトリパス)が指定されていません');
        }

        if (! defined('APP')) {
            throw new \Exception('APP定数が指定されていません');
        }


        $this->model_name = ucfirst(strtolower($params[1]));
        if (file_exists(LIB.'/'.APP.'/Model/'.$this->model_name.'Model.php')) {
            throw new \Exception('既にモデルクラスが存在します');
        }
    }
125670
public function sendSms($to, $content = null, $tempId = null, array $data = [], array $params = [])
    {
        $this->reset();
        $this->params($params, true);
        $to = $this->formatMobile(Util::formatMobiles($to));

        if ($tempId && $this instanceof TemplateSms) {
            $this->sendTemplateSms($to, $tempId, $data);
        } elseif ($content && $this instanceof ContentSms) {
            $this->sendContentSms($to, $content);
        }
    }