ホームページ  >  記事  >  バックエンド開発  >  Yii PHP フレームワーク バージョン 2

Yii PHP フレームワーク バージョン 2

WBOY
WBOYオリジナル
2016-07-29 09:13:251034ブラウズ

この記事の翻訳者: Alexander Gao 引用・転載の際は出典を明記してください。

Yii PHP Framework バージョン 2 ¶

  1. インストール

これは Yii 2 のコア フレームワーク コードです。

このリポジトリは https://github.com/yiisoft/ の子です。 yii2 プロジェクトの場合は、問題レポートとプル リクエストをメイン リポジトリに送信してください。ライセンス情報については、LICENSE 文書を参照してください。

インストール ¶

Yii フレームワークは、composer

composer global <strong>require</strong> "fxp/composer-asset-plugin:~1.0.0"<span>composer <strong>require</strong> yiisoft</span>/yii2

を実行するか、composer.json の

require

セクションに追加することをお勧めします。

クラスリファレンス

BootstrapBootstrapBootstrapの機能を実装します。yiibaseConfigurableDynamicModelは、主に特定のデータ検証に使用されるモデルクラスです。 yiibaseErrorErrorは、PHPエラーを表します。 yiibaseErrorHandlerErrorHandler は、捕捉されなかった PHP エラーと例外を処理します。 yiibaseEventは、すべての問題に対する共通の例外を表します。 yiibaseExitExitExceptionは、アプリケーションの正常終了を表します。 yiibaseInlineActionyiibaseInvalidCallInvalidCallyiibaseInvalidConfigInvalidConfigExceptionは、不正なオブジェクト構成によって引き起こされる例外を表します。 yiibaseInvalidParamInvalidParamExceptionは、メソッドに渡された無効な関数によって引き起こされる例外を表します。 yiibaseInvalidRouteInvalidRouteExceptionは、無効なルートによって引き起こされる例外を表します。 .yiibaseInvalidValueInvalidValueExceptionは、関数が予期しない型の値を返すことによって引き起こされる例外を表します。 yiibaseModelyiibaseModelEventModule は、モジュールとアプリケーション クラスの基本クラスです。 yiibaseNotSupportedNotSupported サポートされていない機能へのアクセスによって発生した例外を表します。 yiibaseObjectObjectは、機能を実装する基本クラスです。Requestは、yiibaseyiibaseResponseApplicationyiibaseSecurityyiibaseUnknownClassException。 ApcCache は、次の点で APC キャッシュを提供します。 ApplicationArrayCache は、値を配列に保存することによってのみ、現在のリクエストのキャッシュを提供します。Cache は、さまざまなキャッシュ ストレージをサポートするキャッシュ クラスの基本クラスです。 implements.Application コンポーネントを実装します。 DbDependency はSQL ステートメントのクエリ結果に基づく依存関係 Dependency は、キャッシュ依存関係クラスの基本クラスです。FileDependency は、ファイルの最終変更時刻に基づく依存関係を表します。MemCache は、キャッシュ Application を実装します。 yiicachingMemCacheServeryiicachingTagDependency ApplicationyiiconsolecontrollersFixtureControlleryiiconsolecontrollersHelpController で利用可能な情報を表しますExceptionExceptionExceptionExceptionExceptionSchema は、MySQL データベース (バージョン) からメタデータを取得するためのクラスです。 4.1.x および 5.x)。ColumnSchemaBuilder は、Oracle データベースのスキーマ ビルダーです。QueryBuilder は、Oracle データベースのクエリ ビルダーです。スキーマはOracleデータベースからメタデータを取得するためのクラスquerybuilderは、postgresqlデータベースのクエリビルダーです。 ).QueryBuilder は SQLite データベースのクエリ ビルダーです。Schema は SQLite (2/3) データベースからメタデータを取得するためのクラスです。 yiidiコンテナyiidiInstanceyiidiServiceLocatorBaseFileHelper は、yiihelpersFileHelper. の具体的な実装を提供します。 BaseFormatConverter は、yiihelpersFormatConverter の具体的な実装を提供します。BaseHtml は、yiihelpersHtml の具体的な実装を提供します。BaseHtmlPurifier は、yiihelpersHt の具体的な実装を提供しますmlPurifier.BaseInflector は、yiihelpersInflector. の具体的な実装を提供します。 BaseJsonはyiihelpersJsonの具体的な実装を提供しますBaseMarkdownはyiihelpersMarkdownの具体的な実装を提供します BaseStringHelper は、yiihelpersStringHelper の具体的な実装を提供します。BaseUrl は、 yiihelpersUrl.BaseVarDumperの具体的な実装は、yiihelpersVarDumper.の具体的な実装を提供します。コンソールヘルパーは、入力の取得や出力の書式設定や色付けなどのコマンドライン関連のタスクに便利なメソッドを提供します。 ファイル システム ヘルパーFormatConverter は、さまざまな書式設定パターン形式間で変換する機能を提供します。Html は、一般的に使用される HTML タグを生成するための静的メソッドのセットを提供します。 HtmlPurifier は、有害なコードから HTML をクリーンアップする機能を提供します。 Inflector は、英語の名詞を複数化および単数化します。その他の便利なメソッドもいくつか含まれています。Json は、JSON データのエンコードとデコードを提供するヘルパー クラスです。Markdown は、マークダウンを HTML に変換する機能を提供します。StringHelperUrlは、URLを管理するための静的メソッドのセットを提供します。VarDumperは、バグのあるPHP関数var_dumpとprint_rを置き換えることを目的としています。 MessageSource はメッセージ翻訳の基本クラスですリポジトリクラス.MissingTranslationEventは、yiii18nMessageSource::EVENT_MISSING_TRANSLATIONイベントのパラメータを表します。PhpMessageSourceはメッセージを表しますPHP スクリプトに翻訳されたメッセージを保存するソース。DbTargetログ メッセージをデータベース テーブルに保存します。Dispatcher は、一連のログ ターゲットを管理します。EmailTarget は、選択したログ メッセージを指定された電子メール アドレスに送信します。ファイルターゲットレコードメッセージをファイルに記録します。Logger は、ログに記録されたメッセージをメモリに記録し、$dispatcher が設定されている場合は、それらを別のターゲットに送信します。SyslogTarget は、ログを syslog に書き込みます。 yiilogターゲットTarget は、すべてのログ ターゲット クラスの基本クラスです。 ヘッダーを送り返します。yiirestSerializeryiirestUpdateActionyiirestUrlR uleyiirestViewActionyiitestActiveFixtureyiitestArrayFixtureyiitestBaseActiveFixtureyiitestDbFixtureyiitestFixtureyiitestFixtureTraityiitestInitDbFixtureyiivalidatorsBooleanValidatoryiivalidatorsCompareValidatorCompareValidator指定された属性値を別の値と比較します。yiivalidatorsDateValidatorDateValidator は、属性が適切な $format で日付、時刻、または datetime を表すかどうかを検証します。yiivalidatorsDefaultValueValidatorDefaultValueValidator は、属性を指定されたデフォルトに設定しますvalue.yiivalidatorsEachValidatorEachValidator は、埋め込まれた検証ルールに対して各要素をチェックすることで配列を検証します。yiivalidatorsEmailValidatorEmailValidator は、属性値が有効な電子メール アドレスであることを検証します。yiivalidatorsExistValidatorExistValidator は、属性値がテーブルに存在することを検証します。requirerequireApplicationApplicationyiiwebAssetConverterAssetConverterいくつかの一般的なスクリプト形式から JS または CSS スクリプトへの変換をサポートします。yiiwebAssetConverterInterfaceAssetConverterInterface はアセット コンバータ クラスによって実装する必要があります。AssetManager はアセット バンドルの構成と読み込みを管理します。yiiwebBadRequestHttp ExceptionBadRequestHttpは、ステータス コード 400 の「不正なリクエスト」HTTP Exception を表します。キャッシュを記憶媒体として使用するコンポーネント。 yiiwebCompositeUrlRuleCompositeUrlRule は、複数の単純なルールで構成される URL ルール クラスの基本クラスです。yiiwebConflictHttpConflictHttpException 「競合」HTTP yiiwebCookieErrorAction 指定されたビデオを使用しますアプリケーション プログラムのブロック通知を表示します。必要な JavaScript ファイルを提供します yiiwidgetsPjax ウィジェット。
クラス 説明
Yii Yii は、一般的なフレームワーク関数を提供するヘルパー クラスです。
yiiBaseYii BaseYii は、Yii フレームワークのコアヘルパークラスです。
yiibaseAction Action は、すべてのコントローラー アクション クラスの基本クラスです。
yiibaseActionEvent ActionEvent は、アクション イベントのイベント パラメーターを表すために使用されます。
yiibaseActionFilter ActionFilter は、アクション フィルターの基本クラスです。
yiibaseApplication Applicationは、すべてのアプリケーションクラスの基本クラスです。
yiibaseArrayAccessTrait ArrayAccessTrait は、IteratorAggregate、ArrayAccess、Countable の実装を提供します。
yiibaseArrayable Arrayable は、インスタンスのカスタマイズ可能な表現をサポートしたいクラスによって実装される必要があるインターフェイスです。
yiibaseBehavior Behavior は、すべての動作クラスの基本クラスです。
yiibaseInterface
Interfaceは、Application プロセスに参加したいクラスによって実装されるべきインターフェースです。 コンポーネントは基本クラスですpropertyeventbehavior
Configurableは、コンストラクターへの最後のパラメーターを介してプロパティの構成をサポートするクラスによって実装される必要があるインターフェイスです。コントローラー ロジックを含むクラスの基本クラスです。 yiibaseDynamicModel
Exception
Exception
Event は、すべてのイベント クラスの基本クラスです。 yiibaseException
Exception
Exception
InlineActionは、コントローラーのメソッドとして定義されたアクションを表します。
Exception Exceptionは、メソッドを間違った方法で呼び出したために発生する例外を表します。
Exception
Exception
Exception
Exception
Model はデータ モデルの基本クラスです。
ModelEventは、yiibaseModelイベントに必要なパラメータを表します。 yiibaseModule
Exception
Exception
property
yiibaseRequestApplicationによって処理されるリクエストオブジェクトを表します。
Responseは、yiibaseRequestに対するyiibaseの応答を表します。
Securityは、一般的なセキュリティ関連のタスクを処理するためのメソッドのセットを提供します。私 のテーマアプリケーションのテーマを表します。
UnknownClassExceptionは、未知のクラスの使用によって発生した例外を表します。
yiibaseUnknownMethodException UnknownMethodExceptionは、不明なオブジェクトメソッドへのアクセスによって発生した例外を表します。
yiibaseUnknownPropertyException Exceptionは、アクセスによって発生した例外を表します。不明なオブジェクトのプロパティ.
yiibaseUserException UserExceptionは、エンドユーザーに表示される例外の基本クラスです。
yiibaseView View は、MVC モードのビュー オブジェクトを表します。
yiibaseViewContextInterface ViewContextInterfaceは、相対ビュー名をサポートしたいクラスによって実装されるべきインターフェースです。
yiibaseViewEvent ViewEventは、yiibaseViewコンポーネントによってトリガーされるイベントを表します。
yiibaseViewRenderer ViewRenderer は、ビュー レンダリング クラスの基本クラスです。
yiibaseWidget Widgetはプラグインクラスの基本クラスです。
yiibehaviorsAttributeBehavior AttributeBehavior は、特定のイベントが発生したときに、指定された値を ActiveRecord オブジェクトの 1 つまたは複数の属性に自動的に割り当てます。
yiibehaviorsBlameableBehavior BlameableBehavior は、指定された属性を現在のユーザー ID。
yiibehaviorsSluggableBehavior SluggableBehavior は、指定された属性に URL のスラッグとして使用できる値を自動的に入力します。
yiibehaviorsTimestampBehavior TimestampBehavior は、指定された属性に現在のタイムスタンプを自動的に入力します
コンポーネント。 yiicachingArrayCache
yiicachingCache
chainedDependency は、他の依存関係のリストで構成される依存関係を表します。
yiicachingDbCache は、キャッシュされたデータをデータベース に保存することによってキャッシュ
yiicachingDependency
yiicachingExpressionDependency ExpressionDependency は、結果に基づく依存関係を表します。 PHP 式の
yiicachingFileCache FileCache は、ファイルを使用してキャッシュ コンポーネントを実装します。
yiicachingMemCache
コンポーネントベースmemcache と memcached 上。
MemCacheServer は、単一の memcache または memcached サーバーの構成データを表します。
TagDependency は、キャッシュされたデータ項目を 1 つまたは複数の $tag に関連付けますs. キャッシュの観点から コンポーネント。
yiicachingZendDataCache ZendDataCache は、Application コンポーネントに関して Zend データ キャッシュを提供します。
yiicaptchaCaptcha Captcha は、検証コード画像を表示し、ユーザーが入力した検証コードを受け取ります入力箱 。
yiicaptchaCaptchaAction CaptchaAction は確認コードの画像を表示します。
yiicaptchaCaptchaAsset このアセット バンドルは、yiicaptchaCaptcha ウィジェットに必要な JavaScript ファイルを提供します。
yiicaptchaCaptchaValidator CaptchaValidator は、属性値が CAPTCHA に表示される検証コードと同じであることを検証します。
yiiコンソールApplication Applicationはコンソールを表しますApplication.
yiiconsoleController Controllerはコンソールコマンドクラスの基本クラスです。
yiiconsoleErrorHandler ErrorHandlerはキャッチされないPHPを処理しますエラーと例外
yiiconsoleException Exceptionは、コンソールコマンドの誤った使用によって引き起こされる例外を表します。
yiiconsoleMarkdown コンソール環境での読み取り用にマークダウンを拡張するマークダウンパーサーです。
yiiconsoleRequest コンソールのリクエストはコンソールの環境情報を表しますApplication.
yiiconsoleResponse コンソールのレスポンスはコンソールの結果を表しますApplication.
yiiconsolecontrollersAssetController 結合して圧縮するのはあなたですJavaScript および CSS ファイル。
yiiconsolecontrollersBaseMigrateController BaseMigrateController は移行コントローラーの基本クラスです。
yiiconsolecontrollersCacheController 允许你来刷新缓存。
フィクスチャデータのロードとアンロードを管理します。
は、制御台のコマンドに関するメッセージ情報を提供します。
yiiconsolecontrollersMessageController ソースファイルから翻訳するメッセージを抽出します。
yiiconsolecontrollersMigrateController Applicationの移行を管理します。
yiidataActiveDataProvider ActiveDataProvider は、yiidbQuery と yiidbActiveQuery に基づいてデータプロバイダーを実装します。
yiidataArrayDataProvider ArrayDataProviderは、データ配列に基づいてデータプロバイダーを実装します。
yiidataBaseDataProvider BaseDataProviderは、yiidataDataProviderInterfaceを実装する基本クラスを提供します。
yiidataDataProviderInterface DataProviderInterface は、データプロバイダーによって実装される必要があるインターフェイスですclass.
yiidataPagination Pagination は、データ項目のページネーションに関連する情報を表します。
yiidataSort Sort は、並べ替えに関連する情報を表します。 er はプレーンな SQL に基づいてデータプロバイダーを実装しますstatement.
yiidbActiveQuery ActiveQueryは、アクティブレコードクラスに関連付けられたDBクエリを表します。
yiidbActiveQueryInterface ActiveQueryInterfaceは、アクティブレコードクエリクラスによって実装される共通インターフェースを定義します。
yiidbActiveQueryTrait ActiveQueryTraitアクティブ レコード クエリ クラスの共通メソッドとプロパティを実装します。
yiidbActiveRecord ActiveRecord は、オブジェクトに関してリレーショナル データを表すクラスの基本クラスです。
yiidbActiveRecordInterface ActiveRecordInterface
yiidbActiveRelationTrai t ActiveRelationTraitアクティブ レコード リレーショナル クエリの共通メソッドとプロパティを実装します。
yiidbAfterSaveEvent AfterSaveEvent は、yiidbActiveRecord::EVENT_AFTER_INSERT および yiidbActiveRecord::EVENT_AFTER_UPDATE.
yiidbBaseActiveRecordActiveRecord は、次のことを表すクラスの基本クラスです。オブジェクトに関するリレーショナル データ。
yiidbBatchQueryResult BatchQueryResult は、データをバッチで取得できるバッチ クエリを表します。
yiidbColumnSchema ColumnSchema クラスは、データベース テーブル内の列のメタデータを記述します。
yiidbColumnSchemaBuilder ColumnSchemaBuilder は、PHP インターフェイスを使用してデータベース スキーマ タイプを定義するのに役立ちます。
yiidbCommand Command は、データベースに対して実行される SQL ステートメントを表します。
yiidbConnection Connection は、データベースへの接続PDO 経由。
yiidbDataReader DataReader は、クエリ結果セットからの行の前方専用ストリームを表します。
yiidb
は、一部の DB- によって引き起こされる Exception を表します。関連操作 yiidbExpressionExpressionは、エスケープや引用符を必要としないDB式を表します。
yiidbIntegrity
は、DB制約の違反によって引き起こされるExceptionを表します。 yiidbMigrationMigrationは、データベース移行を表す基本クラスです。
yiidbMigrationInterface MigrationInterfaceは、データベース移行によって実装されるメソッドの最小セットを定義します。
yiidbQuery クエリが表すDBMS から独立した方法での SELECT SQL ステートメント。
yiidbQueryBuilder QueryBuilder は、yiidbQuery オブジェクトとして指定された仕様に基づいて SELECT SQL ステートメントを構築します。
yiidbQueryInterface QueryInterface は、次の最小セットを定義します。データベース クエリによって実装されるメソッド。
yiidbQueryTrait BaseQuery トレイトは、データベース Query の最小メソッド セットを表します。
yiidbSchema Schema は、具体的な DBMS 固有のスキーマ クラスの基本クラスです。
yiidbSchemaBuilderTrait SchemaBuilderTrait には、yiidbColumnSchemaBuilder.
yiidbStaleObject
yiidbTableSchem のインスタンスを作成するショートカット メソッドが含まれていますa TableSchema はデータベース テーブルのメタデータを表します。
yiidbTransaction Transaction 1 つのデータ リソースを示します。
yiidbcubridQueryBuilder QueryBuilder は、CUBRID データベース (バージョン 9.3.x 以降) のクエリ ビルダーです。
yiidbcubridSchema Schema は、CUBRID データベース (バージョン 9.3.x 以降) からメタデータを取得するためのクラスです。より高い) .
yiidbmssqlPDO これは、MSSQL および DBLIB ドライバーのデフォルト PDO クラスの拡張です。
yiidbmssqlQueryBuilder QueryBuilder は、MS SQL Server データベース (バージョン 2008 以降) 用のクエリ ビルダーです。
yiidbmssqlSchema Schemaは、MSSQL Serverデータベース(バージョン2008以降)からメタデータを取得するためのクラスです。
yiidbmssqlSqlsrvPDO これは、SQLSRVドライバーのデフォルトのPDOクラスの拡張です。 .
yiidbmssqlTableSchema TableSchema はデータベース テーブルのメタデータを表します。 qlSchema
yiidbociColumnSchemaBuilder
yiidbociQueryBuilder
yiidbociSchema
yiidbpgsqlquerybuilder
yiidbsqliteQueryBuilder
yiidbsqliteSchema
コンテナ依存関係注入コンテナを実装します。
Instance は、依存関係注入 (DI) コンテナまたはサービス ロケーター内の名前付きオブジェクトへの参照を表します。
ServiceLocator はサービス定位子を実現します。
yii\filters\AccessControl AccessControl provides simple access control based on a set of rules.
yii\filters\AccessRule This class represents an access rule defined by the yii\filters\AccessControl action filter
yii\filters\ContentNegotiator ContentNegotiator supports response format negotiation and Application language negotiation.
yii\filters\Cors Cors filter implements Cross Origin Resource Sharing.
yii\filters\HttpCache HttpCache implements client-side caching by utilizing the Last-Modified and Etag HTTP headers.
yii\filters\PageCache PageCache implements server-side caching of whole pages.
yii\filters\RateLimitInterface RateLimitInterface is the interface that may be implemented by an identity object to enforce rate limiting.
yii\filters\RateLimiter RateLimiter implements a rate limiting algorithm based on the leaky bucket algorithm.
yii\filters\VerbFilter VerbFilter is an action filter that filters by HTTP request methods.
yii\filters\auth\AuthInterface AuthInterface is the interface that should be implemented by auth method classes.
yii\filters\auth\AuthMethod AuthMethod is a base class implementing the yii\filters\auth\AuthInterface interface.
yii\filters\auth\CompositeAuth CompositeAuth is an action filter that supports multiple authentication methods at the same time.
yii\filters\auth\HttpBasicAuth HttpBasicAuth is an action filter that supports the HTTP Basic authentication method.
yii\filters\auth\HttpBearerAuth HttpBearerAuth is an action filter that supports the authentication method based on HTTP Bearer token.
yii\filters\auth\QueryParamAuth QueryParamAuth is an action filter that supports the authentication based on the access token passed through a query parameter.
yii\grid\ActionColumn ActionColumn is a column for the yii\grid\GridView widget that displays buttons for viewing and manipulating the items.
yii\grid\CheckboxColumn CheckboxColumn displays a column of checkboxes in a grid view.
yii\grid\Column Column is the base class of all yii\grid\GridView column classes.
yii\grid\DataColumn DataColumn is the default column type for the yii\grid\GridView widget.
yii\grid\GridView The GridView widget is used to display data in a grid.
yii\grid\GridViewAsset This asset bundle provides the javascript files for the yii\grid\GridView widget.
yii\grid\SerialColumn SerialColumn displays a column of row numbers (1-based).
yii\helpers\ArrayHelper ArrayHelper provides additional array functionality that you can use in your Application.
yiihelpersBaseArrayHelper BaseArrayHelperは、yiihelpersArrayHelperの具体的な実装を提供します。
yiihelpersBaseConsole BaseConsoleは、yiihelpersConsoleの具体的な実装を提供します。 BaseFileHelper
yiihelpersBaseFormatConverter
yiihelpersBaseHtml
yiihelpersBaseHtmlPurifier
yiihelpersBaseInflector
yiihelpersBaseJson
yiihelpersBaseMarkdown
yiihelpersBaseStringHelper
yiihelpersBaseUrl
yiihelpersBaseVarDumper
yiihelpersConsole
yiihelpersFileHelper
yiihelpersFormatConverter
yiihelpersHtml
yiihelpersHtmlPurifier
yiihelpersInflector
yiihelpersJson
yiihelpersMarkdown
yiihelpersStringHelper
yiihelpersUrl
yiihelpersVarDumper
yiii18nDbMessageSource DbMessageSource は yiii18nMessageSource を拡張します翻訳されたメッセージをデータベースに保存するメッセージ ソースを表します。
yiii18nFormatter Formatter は、一般的に使用されるデータ書式設定メソッドのセットを提供します。
yiii18nGettextFile GettextFile は、Gettext メッセージ ファイルを表す基本クラスです。
yiii18nGettextMessageSource GettextMessageSource は、GNU Gettext に基づくメッセージ ソースを表します。
yiii18nGettextMoFile GettextMoFile は、MO Gettext メッセージ ファイルを表します。
yiii18nGettextPo File GettextPoFile は、PO Gettext メッセージ ファイルを表します。
yiii18nI18N I18N は、国際化 (I18N) とローカリゼーション (L10N) に関連する機能を提供します。 Source
yiii18nMissingTranslationEvent
yiii18nPhpMessageSource
yiilogDbTarget
yiilogDispatcher
yiilogEmailTarget
yiilogFileTarget
yiilogLogger
yiilogSyslogTarget
yii\mail\BaseMailer BaseMailer serves as a base class that implements the basic functions required by yii\mail\MailerInterface.
yii\mail\BaseMessage BaseMessage serves as a base class that implements the send() method requireyiimailMessageInterface.
yiimailMailEvent MailEventによるdは、yiimailBaseMailerによってトリガーされるイベントに使用されるイベントパラメータを表します。
yiimailMailerInterface MailerInterfaceは、メーラークラスによって実装されるべきインターフェースです。
yiimailMessageInterface MessageInterfaceは、メール メッセージ クラスによって実装される必要があるインターフェイスです。
yiimutexDbMutex DbMutex は、ミューテックスの「ロック」メカニズムを実装しながらデータベースに依存するクラスの基本クラスです。
yiimutexFileMutex FileMutex は、ミューテックス "ローカル ファイル システム ファイルを介したロック」メカニズム。
yiimutexMutex Mutex コンポーネントにより、同時プロセスの相互実行が可能になり、「競合状態」が防止されます。
yiimutexMysqlMutex MysqlMutex は、MySQL ロックを介してミューテックス「ロック」メカニズムを実装します。
yiirbacAssignment Assignmentは、ユーザーへのロールの割り当てを表します。
yiirbacBaseManager BaseManagerは、RBAC管理用のyiirbacManagerInterfaceを実装する基本クラスです。
yi irbacDbManager DbManager は、データベース内の承認情報。
yiirbacItem
yiirbacManagerInterface
yiirbacPermission
yiirbacPhpManager PhpManager は、PHP スクリプト ファイルの観点から承認情報を保存する承認マネージャーを表します。
yiirbacRole
yiirbacRule Rule は、ロール、権限、または割り当てに関連付けられるビジネス制約を表します。
yiirestAction Action は、R を実装するアクション クラスの基本クラスです。 ESTful API .
yiirestActiveController ActiveControllerは、ActiveRecordへのRESTfulアクセスをサポートするための共通のアクションセットを実装します。
yiirestController Controllerは、RESTful APIコントローラクラスの基本クラスです。
yiirestCreateAction CreateAction は指定されたデータから新しいモデルを作成するための API エンドポイント。
yiirestDeleteAction DeleteAction は、モデルを削除するための API エンドポイントを実装します。
yiirestIndexAction
yiirestOptionsAction OptionsAction は、OPTIONS リクエストに次のように応答します。 Allow
Serializer は、リソース オブジェクトとコレクションを配列表現に変換します。
UpdateAction は、モデルを更新するための API エンドポイントを実装します。
UrlRule が提供されていますRESTful API サポートの URL ルールの作成を簡素化します。
ViewAction は、モデルに関する詳細情報を返す API エンドポイントを実装します。
ActiveFixture は、ActiveRecord クラスによってバックアップされたフィクスチャを表しますまたはデータベーステーブル
ArrayFixtureは、PHPファイルからロードできる任意のフィクスチャを表します。
BaseActiveFixtureは、ActiveRecordオブジェクトとしてフィクスチャデータへのアクセスをサポートするフィクスチャクラスの基本クラスです。
DbFixture は、DB 関連のフィクスチャの基本クラスです。
Fixture は、テスト環境の固定状態を表します。
FixtureTrait治具のロード、アンロード、およびアクセスのための機能を提供しますテストケースの場合。
InitDbFixture は、DB 関連のテストに必要な初期状態を表します。
BooleanValidator は、属性値がブール値であるかどうかを確認します。
yiivalidatorsFileValidator FileValidator は、属性が有効なアップロードされたファイルを受信して​​いるかどうかを検証します。
yiivalidatorsFilterValidator FilterValidator は、フィルターに従って属性値を変換します。
yiivalidatorsImageValidator ImageValidator は属性が有効な値を受け取っているかどうかを検証しますimage.
yiivalidatorsInlineValidator InlineValidatorは、検証されるオブジェクトのメソッドとして定義されるバリデータを表します。
yiivalidatorsNumberValidator NumberValidatorは、属性値が数値であることを検証します。
yiivalidatorsPunycodeAsset これアセット バンドルは、yiivalidatorsEmailValidators クライアントの検証に必要な JavaScript ファイルを提供します。
yiivalidatorsRangeValidator RangeValidator は、属性値が値のリストに含まれていることを検証します。 ator は、属性値が指定された $ と一致することを検証します。 pattern.
yiivalidatorsdValidator
dValidator 验证指定プロパティは空または null ではありません。属性を安全であるとマークすることを主な目的とするバリデータ大量の割り当て。 yiivalidatorsStringValidatorStringValidator 验证属性値は一定期間に適合します。
yiivalidatorsUrlValidator UrlValidator のプロパティ値が正しいかどうか有効な http または https URL です。
yiivalidatorsValidationAsset このソースパケットは、ゲスト端末のテストに必要な js ファイルを提供します。
yiivalidatorsValidator Validator はすべてのテスト
yiiweb
は、すべての Web アプリケーション プログラム クラスの基本クラスです。
yiiwebAssetManager
Exception
セッション
Exception
例外 (ステータス コード 409) yiiwebControllerController は Web コントローラーの基本クラスです。
Cookie は、$name、$value、$domain、などの情報を表示します。 yiiwebCookieコレクション CookieCollection は現在のリクエスト中に保持される Cookie を使用できます。 yiiwebErrorAction
yii\web\ForbiddenHttpException ForbiddenHttpException represents a "Forbidden" HTTP Exception with status code 403.
yii\web\GoneHttpException GoneHttpException represents a "Gone" HTTP Exception with status code 410
yii\web\GroupUrlRule GroupUrlRule represents a collection of URL rules sharing the same prefix in their patterns and routes.
yii\web\HeaderCollection HeaderCollection is used by yii\web\Response to maintain the currently registered HTTP headers.
yii\web\HtmlResponseFormatter HtmlResponseFormatter formats the given data into an HTML response content.
yii\web\HttpException HttpException represents an Exception caused by an improper request of the end-user.
yii\web\IdentityInterface IdentityInterface is the interface that should be implemented by a class providing identity information.
yii\web\JqueryAsset This asset bundle provides the jquery javascript library
yii\web\JsExpression JsExpression marks a string as a JavaScript expression.
yii\web\JSONParser Parses a raw HTTP request using yii\helpers\Json::decode()
yii\web\JsonResponseFormatter JsonResponseFormatter formats the given data into a JSON or JSONP response content.
yii\web\Link Link represents a link object as defined in JSON Hypermedia API Language.
yii\web\Linkable Linkable is the interface that should be implemented by classes that typically represent locatable resources.
yii\web\MethodNotAllowedHttpException MethodNotAllowedHttpException represents a "Method Not Allowed" HTTP Exception with status code 405.
yii\web\MultiFieldSession MultiFieldSession is the base class for Session storage implementations with multi-field data storage support.
yii\web\NotAcceptableHttpException NotAcceptableHttpException represents a "Not Acceptable" HTTP Exception with status code 406
yii\web\NotFoundHttpException NotFoundHttpException represents a "Not Found" HTTP Exception with status code 404.
yii\web\Request The web Request class represents an HTTP request
yii\web\RequestParserInterface Interface for classes that parse the raw request body into a parameters array.
yii\web\Response The web Response class represents an HTTP response
yii\web\ResponseFormatterInterface ResponseFormatterInterface specifies the interface needed to format a response before it is sent out.
yii\web\ServerErrorHttpException ServerErrorHttpException represents an "Internal Server Error" HTTP Exception with status code 500.
yii\web\Session Session provides Session data management and the related configurations.
yii\web\SessionIterator SessionIterator implements an Iterator for traversing Session variables managed by yii\web\Session.
yii\web\TooManyRequestsHttpException TooManyRequestsHttpException represents a "Too Many Requests" HTTP Exception with status code 429
yii\web\UnauthorizedHttpException UnauthorizedHttpException represents an "Unauthorized" HTTP Exception with status code 401
yii\web\UnprocessableEntityHttpException UnprocessableEntityHttpException represents an "Unprocessable Entity" HTTP Exception with status code 422.
yii\web\UnsupportedMediaTypeHttpException UnsupportedMediaTypeHttpException represents an "Unsupported Media Type" HTTP Exceptionステータス コード 415 の
yiiwebUploadedFile UploadedFile は、アップロードされたファイルの情報を表します。
yiiwebUrlManager UrlManager は、一連のルールに基づいて HTTP リクエストの解析と URL の作成を処理します。
yiiwebUrlルール UrlRule は、yiiwebUrlManager が URL の解析と生成に使用するルールを表します。
yiiwebUrlRuleInterface UrlRuleInterface は、URL ルール クラスを実装する必要があるインターフェイスです。
yiiwebUser User は、「ユーザー」のクラスです。 アプリケーション ユーザー認証ステータスを管理するコンポーネント。
yiiwebUserEvent このイベント クラスは、yiiwebUser クラスによってトリガーされるイベントに使用されます。
yiiwebView View は、MVC パターンのビュー オブジェクトを表します。
yiiwebViewAction ViewAction は、ユーザー指定のパラメーターに従ってビューを表示するアクションを表します。
yiiwebXmlResponseFormatter XmlResponseFormatter は、指定されたデータを XML 応答コンテンツにフォーマットします。
yiiwebYiiAsset このアセット バンドルは、ベースを提供しますYii Framework の javascript ファイル。
yiiwidgetsActiveField ActiveField は、yiiwidgetsActiveForm 内のフォーム入力フィールドを表します。
yiiwidgetsActiveForm ActiveForm は、対話型 HTML フォームを構築するウィジェットです1 つまたは複数のデータ モデル。
yiiwidgetsActiveFormAsset
yiiwidgetsBaseListView BaseListView は、ListView や GridView などのデータ プロバイダーからのデータを表示するウィジェットの基本クラスです。
yiiwidgetsBlock Block begin() 呼び出しと end() 呼び出しの間のすべての出力を記録します
yiiwidgetsBreadcrumbs Breadcrumbs は、サイト階層全体における現在のページの位置を示すリンクのリストを表示します。
yiiwidgetsContentDecorator ContentDecorator は begin( ) と end() を呼び出し、それを指定されたビュー ファイルに $content として渡し、レンダリング結果をエコーし​​ます。
yiiwidgetsDetailView DetailView は、単一のデータ $model の詳細を表示します。 yiibaseView によって、ページ フラグメントのキャッシュを提供します。
yiiwidgetsInputWidget InputWidget は、ユーザー入力を収集するウィジェットの基本クラスです。
yiiwidgetsLinkPager LinkPager は、ターゲットのさまざまなページにつながるハイパーリンクのリストを表示します。
yiiwidgetsLinkSorter LinkSorter は、指定された並べ替え定義の並べ替えリンクのリストをレンダリングします。
yiiwidgetsListView ListView ウィジェットは、データ プロバイダーからのデータを表示するために使用されます。各データ モデルは、指定されたビューを使用してレンダリングされます。
yiiwidgetsMaskedInput MaskedInput は、マスクされたテキスト入力を生成します。
yiiwidgetsMaskedInputAsset yiiwidgetsMaskedInput ウィジェットのアセット バンドル。
yiiwidgetsMenu メニューにはマルチが表示されますネストされた HTML リストを使用する - レベルのメニュー。
yiiwidgetsPjax Pjax は、pjax jQuery プラグインを統合するウィジェットです。
yiiwidgetsPjaxAsset このアセット バンドルは、
yiiwidgetsSpacelessSpaceless ウィジェットは、HTML タグ間の空白文字を削除します。 HTML タグ内またはプレーン テキスト内の空白は常にそのまま残されます。
以上、Yii PHP フレーム バージョン 2 を介して、require、Exception、Bootstrap、JSONP、PHP フレームに関する内容が含まれており、PHP 教程に興味のある友人の助けになることを望んでいます。
声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。