メインメニュー
XAMPP アレンジ
IED
WSL2
-
道具箱
リポジトリ編
フレームワーク編
公開ソフトウェア
メタ
リンク
- PHP ライブラリ
- PHP 言語
apricot:usage:ja:utility文書の過去の版を表示しています。
編集中
Apricot ユーティリティ
ボイラープレート
boilerplates.php
関数 機能 env($key, $default = null) Returns the value of the environment variable specified by the key.
キーで指定された環境変数の値を返します。abort(int $code, string $message=null) Throws an HTTP exception.
HTTP例外をスローします。app($dot = null, $default=null) Returns the value of the application setting specified by the dot-notation key.
ドット表記キーで指定されたアプリケーション設定の値を返します。app_has($dot = null) Checks if an application setting key is present.
アプリケーション設定キーが存在するかどうかを確認します。project_dir($path = null):string Returns the full pathname in the project directory or its child directory.
プロジェクトディレクトリまたはその子ディレクトリの完全パス名を返します。config_dir($path = null):string Returns the full pathname in the config directory or its child directory.
configディレクトリまたはその子ディレクトリの完全パス名を返します。assets_dir($path = null):string Returns the full pathname in the assets directory or its child directory.
アセットディレクトリまたはその子ディレクトリの完全パス名を返します。var_dir($path = null):string Returns the full pathname in the var directory or its child directory.
varディレクトリまたはその子ディレクトリの完全パス名を返します。public_dir($path = null):string Returns the full pathname in the public directory or its child directory.
パブリックディレクトリまたはその子ディレクトリの完全パス名を返します。url($path = null):string Returns the application URL.
アプリケーションのURLを返します。url_ver(string $filename) Returns a file URL with the application version.
アプリケーションのバージョンを含むファイルURLを返します。route($path = null):string Returns the routing path.
ルーティングパスを返します。controllerName():string Returns the current controller name.
現在のコントローラー名を返します。actionName():string Returns the current action name.
現在のアクション名を返します。config($key, $default = null) Returns the value of the configuration Variable specified by the dot-notation key.
ドット表記キーで指定された構成変数の値を返します。__($key, $params = []) Returns the translated message specified by the dot-notation key.
ドット表記キーで指定された翻訳されたメッセージを返します。inputLabels(string $message_key):array Returns an array of input labels specified by the dot-notation key.
ドット表記キーで指定された入力ラベルの配列を返します。input(string $key, $default=null) Returns the input data($_GET or $_POST depending on the post method) specified by the key.
キーで指定された入力データ(post メソッドに応じて $_GET または $_POST)を返します。queryString(string $key, $default=null) Returns the QueryString($_GET) data specified by the key.
キーで指定されたQueryString($_GET)データを返します。session(string $key, $default=null) Returns the session data($_SESSION) specified by the key.
キーで指定されたセッションデータ($_SESSION)を返します。flash(string $key, $default=null) Returns the flash data specified by the key.
キーで指定されたフラッシュデータを返します。cookie(string $key, $default=null) Returns the cookie data($_COOKIE) specified by the key.
キーで指定されたcookieデータ($_COOKIE)を返します。render(string $view=null, array $variables=[]):Apricot\Foundation\Response\RenderResponse Renders HTML via the given template and returns a response object.
指定されたテンプレートを介してHTMLをレンダリングし、応答オブジェクトを返します。redirect(string $url):Apricot\Foundation\Response\RedirectResponse Returns a response object that redirects to the specified URL.
指定されたURLにリダイレクトする応答オブジェクトを返します。old(string $key, $default = null) Returns the old input value flushed to the session, specified by the key.キーで指定された、セッションにフラッシュされた古い入力値を返します back():string Returns an old URL path.
古いURLパスを返します。errors():Apricot\Foundation\ErrorBag Returns response errors flashed into the session.
セッションにフラッシュされた応答エラーを返します。
apricot/usage/ja/utility.1596591243.txt.gz · 最終更新: 2020/08/05 10:34 by tanaka
コメント