Ground Sunlight

Windowsで作る - PHPプログラミングの開発環境

ユーザ用ツール

サイト用ツール


サイドバー

メインメニュー

XAMPP アレンジ

IED

WSL2

道具箱

リポジトリ編

フレームワーク編

公開ソフトウェア

メタ
リンク


このページへのアクセス
今日: 4 / 昨日: 0
総計: 967

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):stringReturns the full pathname in the project directory or its child directory.

プロジェクトディレクトリまたはその子ディレクトリの完全パス名を返します。
config_dir($path = null):stringReturns the full pathname in the config directory or its child directory.

configディレクトリまたはその子ディレクトリの完全パス名を返します。
assets_dir($path = null):stringReturns the full pathname in the assets directory or its child directory.

アセットディレクトリまたはその子ディレクトリの完全パス名を返します。
var_dir($path = null):stringReturns the full pathname in the var directory or its child directory.

varディレクトリまたはその子ディレクトリの完全パス名を返します。
public_dir($path = null):stringReturns the full pathname in the public directory or its child directory.

パブリックディレクトリまたはその子ディレクトリの完全パス名を返します。
url($path = null):stringReturns the application URL.

アプリケーションのURLを返します。
url_ver(string $filename)Returns a file URL with the application version.

アプリケーションのバージョンを含むファイルURLを返します。
route($path = null):stringReturns the routing path.

ルーティングパスを返します。
controllerName():stringReturns the current controller name.

現在のコントローラー名を返します。
actionName():stringReturns 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):arrayReturns 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\RenderResponseRenders HTML via the given template and returns a response object.

指定されたテンプレートを介してHTMLをレンダリングし、応答オブジェクトを返します。
redirect(string $url):Apricot\Foundation\Response\RedirectResponseReturns 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():stringReturns an old URL path.

古いURLパスを返します。
errors():Apricot\Foundation\ErrorBagReturns response errors flashed into the session.

セッションにフラッシュされた応答エラーを返します。


コメント

コメントを入力. Wiki文法が有効です:
 
apricot/usage/ja/utility.1596591243.txt.gz · 最終更新: 2020/08/05 10:34 by tanaka