Ground Sunlight

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

ユーザ用ツール

サイト用ツール


apricot:usage:ja:utility

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン 両方とも次のリビジョン
apricot:usage:ja:utility [2020/08/05 10:33]
tanaka [ボイラープレート]
apricot:usage:ja:utility [2020/08/20 14:02]
y2sunlight [Apricot ユーティリティ]
行 6: 行 6:
  --- //[[http://www.y2sunlight.com|y2sunlight]] 2020-07-29//  --- //[[http://www.y2sunlight.com|y2sunlight]] 2020-07-29//
  
-[[apricot:usage:ja|Apricot Document に戻る]]+[[apricot:usage:ja|Apricot ドキュメント に戻る]]
  
 目次 目次
行 15: 行 15:
   * [[apricot:usage:ja:http|Apricot リクエストとレスポンス]]   * [[apricot:usage:ja:http|Apricot リクエストとレスポンス]]
   * [[apricot:usage:ja:frontend|Apricot フロントエンド]]   * [[apricot:usage:ja:frontend|Apricot フロントエンド]]
-  * [[apricot:usage:ja:model|Apricot データベースモデル]]+  * [[apricot:usage:ja:database|Apricot データベース]] 
 +  * [[apricot:usage:ja:model|Apricot モデルとサービス]]
   * [[apricot:usage:ja:middleware|Apricot ミドルウェア]]   * [[apricot:usage:ja:middleware|Apricot ミドルウェア]]
   * [[apricot:usage:ja:controller|Apricot コントローラ]]   * [[apricot:usage:ja:controller|Apricot コントローラ]]
行 29: 行 30:
 |env($key, $default = null)|環境変数(.envファイル設定値)の取得| |env($key, $default = null)|環境変数(.envファイル設定値)の取得|
 |abort(int $code, string $message=null)|HTTP例外(400,500番台)の発生| |abort(int $code, string $message=null)|HTTP例外(400,500番台)の発生|
- 
-^関数^機能^ 
-|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($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.\\ \\ アプリケーション設定キーが存在するかどうかを確認します。| |app_has($dot = null)|Checks if an application setting key is present.\\ \\ アプリケーション設定キーが存在するかどうかを確認します。|
行 47: 行 44:
 |config($key, $default = null)|Returns the value of the configuration Variable specified by the dot-notation key.\\ \\ ドット表記キーで指定された構成変数の値を返します。| |config($key, $default = null)|Returns the value of the configuration Variable specified by the dot-notation key.\\ \\ ドット表記キーで指定された構成変数の値を返します。|
 |<nowiki>__</nowiki>($key, $params = [])|Returns the translated message specified by the dot-notation key.\\ \\ ドット表記キーで指定された翻訳されたメッセージを返します。| |<nowiki>__</nowiki>($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.\\ \\ ドット表記キで指定された入力ラベル配列を返します。+|inputLabels\\ (string $message_key):array|フォームデタのラベル配列を取得
-|input(string $key, $default=null)|Returns the input data($_GET or $_POST depending on the post method) specified by the key.\\ \\ キで指定された入力データ(post メソッドに応じて $_GET または $_POST)返します。+|input\\ (string $key, $default=null)|フォデータを取得
-|queryString(string $key, $default=null)|Returns the QueryString($_GET) data specified by the key.\\ \\ キーで指定されたQueryString($_GET)データ返します。+|queryString\\ (string $key, $default=null)|クエリ文字列取得
-|session(string $key, $default=null)|Returns the session data($_SESSION) specified by the key.\\ \\ キーで指定されたセッションデータ($_SESSION)返します。+|session\\ (string $key, $default=null)|セッション変数取得
-|flash(string $key, $default=null)|Returns the flash data specified by the key.\\ \\ キーで指定されたフラッシュデータ返します。+|flash\\ (string $key, $default=null)|フラッシュ変数取得
-|cookie(string $key, $default=null)|Returns the cookie data($_COOKIE) specified by the key.\\ \\ キーで指定されたcookieデータ($_COOKIE)返します。+|cookie\\ (string $key, $default=null)|クッキー変数取得
-|render(string $view=null, array $variables=[]):Apricot\Foundation\Response\RenderResponse|Renders HTML via the given template and returns a response object.\\ \\ 指定されたテンプレートを介してHTMLをンダリングし、応答オブジェクトをします+|render\\ (string $view=null, array $variables=[])\\ :Apricot\Foundation\Response\RenderResponse|RenderResponseの生成 \\ テンプレート名とテンプ変数指定します| 
-|redirect(string $url):Apricot\Foundation\Response\RedirectResponse|Returns a response object that redirects to the specified URL.\\ \\ 指定されたURLにリダイレクトする応答オブジェクトします+|redirect\\ (string $url)\\ :Apricot\Foundation\Response\RedirectResponse|RedirectResponseの生成\\ リダイレクトURL指定します| 
-|old(string $key, $default = null)|Returns the old input value flushed to the session, specified by the key.キー指定された、セッションにフラッシュされた古い入力値をします| +|old\\ (string $key, $default = null)|キー指定して前回の入力値を取得します| 
-|back():string|Returns an old URL path.\\ \\ 古いURLパスします+|back():string|前回のURI取得します| 
-|errors():Apricot\Foundation\ErrorBag|Returns response errors flashed into the session.\\ \\ セッションにフラッシュされた応答エラーをします|+|errors():Apricot\Foundation\ErrorBag|前回のエラーバッグ取得します|
  
 \\ \\
  
apricot/usage/ja/utility.txt · 最終更新: 2020/09/03 13:47 by y2sunlight