亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

目錄
本文譯者:Alexander Gao ?引用、轉(zhuǎn)載請說明出處。
首頁 後端開發(fā) php教程 Yii PHP框架 版本2

Yii PHP框架 版本2

Jul 29, 2016 am 09:13 AM
base for the yii

本文譯者:Alexander Gao ?引用、轉(zhuǎn)載請說明出處。

Yii PHP框架 版本2 ?

  1. 安裝

此為?Yii 2的核心框架代碼。項目,請對主倉庫提交問題報告、拉取請求。關(guān)於許可資訊請查閱?LICENSE?文件。

安裝??推薦透過?composer?來安裝Yii框架.

運作

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

或增加

類參考

?yiibaseArrayable?介面的公共實作。 yiibaseBehaviorBehavior 是所有行為類別的基底類別。 yiibaseInterfacebehavior features. yiibaseControllerController 是包含控制器邏輯的類別的基底類別。 yiibaseDynamicModelDynamicModel 是一個主要用於特定資料驗證的模型類別。?yiibaseErrorExceptionError 表示一個PHP誤差。 ErrorHandler 處理未捕獲的php錯誤和異常。 yiibaseEventEvent 是所有事件類別的基類。 yiibaseException為所有問題表示一個普通異常。 表示一個應(yīng)用程式的正常終止。 InlineAction 表示一個被定義為控制器方法的動作。 yiibaseInvalidCallExceptionInvalidCall 表示一個因使用錯誤方式呼叫方法而引發(fā)的異常。 表示錯誤的物件配置而引發(fā)的異常。 表示由傳入到方法的無效函數(shù)而引發(fā)的異常。 表示無效路由引發(fā)的異常。 . 表示因函數(shù)傳回意外類型的值而引發(fā)的例外。 Model 是資料模型的基底類別。 yiibaseModelEventModelEvent 表示了一個?yiibaseModel events 所需的參數(shù)。 yiibaseModuleModule 是模組和應(yīng)用程式類別的基底類別。 yiibaseNotSupportedExceptionNotSupported 表示一個因存取不支援的功能而引發(fā)的異常。 Object is the base class that implements the Response represents the response of an yiibaseApplication to a yiibaseRequest.?? ity-related tasks.yiibaseThemeTheme表示應(yīng)用程式的主題。 UnknownClass 表示因使用未知的類而引發(fā)的異常。ExceptionExceptionExceptionView 代表MVC模式下的視圖物件。 ViewContextInterface is the interface that should implemented by classes who want to support relative view names.BlameableBehavior automatically fills the specified attributes with the current user ID.SluggableBehavior automatically fills the specified attribute with a value that can be used a slug in a URL.. current timestamp.yiicachingApcCacheApcCache provides APC caching in terms of an component.yiicachingArrayCacheArrayCache provides caching for the current request only by stor面Cache is the base class for cache classes supporting different cache storage implementations.Application component by storing cached data in a database.DbDependency represents a dependency based on the query result of a SQL statement.yiicachingDummyCacheDummyCache is a placeholder cache component. yiicachingExpressionDependencyExpressionDependency represents a dependency based on the result of a PHP expression.yiicachingFileDependencyFileDependency represents a dependency based on a file's last modification time.yiicachingMemCacheMemCache implements a cache component based on meache 和Sermeachacheed. represents the configuration data for a single memcache or memcached server.yiicachingTagDependency TagDependency associates a cached data item with one or multiple $tags.yiicachingWinCacheWinCache provides yiicachingXCacheApplicationApplication??希?? aptcha 顯示一個驗證碼圖片和接收使用者輸入的驗證碼的輸入框。 yiicaptchaCaptchaAction yiiconsoleRequest允許您合併和壓縮你的JavaScript 和CSS文件。 yiiconsolecontrollersBaseMigrateControllerBaseMigrateController 是遷移控制器的基底類別。 yiiconsolecontrollersCacheControlleryiiconsolecontrollersFixtureController 管理夾具資料載入和卸載。 yiiconsolecontrollersHelpController提供有關(guān)控制臺命令的錯誤訊息。ActiveRelationTraititidbActiveRe lationTrait查詢和屬性。 AfterSaveEvent 表示 yiidbActiveRecord::EVENT_AFTER_INSERT 和 yiidbActiveRecord::EVENT_AFTER_UPDATE 中可用的資訊。 ActiveRecord 是代表類別的基類物件方面的關(guān)係資料。 BatchQueryResult 表示批次查詢,您可以從中批次擷取資料。 ColumnSchema 類別描述資料庫表中所列的元資料。 ColumnSchemaBuilder 有助於使用 PHP 介面定義資料庫模式類型。 Command 表示要針對資料庫執(zhí)行的 SQL 語句。 Connection 表示與資料庫的連線透過 PDO。 DataReader 表示查詢結(jié)果集中的只進行流。 ExceptionException相關(guān)操作。 Expression 表示不需要轉(zhuǎn)義或引用的 DB 表達式。 ExceptionException。 Migration 是表示資料庫遷移的基底類別。 MigrationInterface 定義了資料庫遷移要實現(xiàn)的最小方法集。 查詢代表以獨立於 DBMS 的方式執(zhí)行 SELECT SQL 語句。 QueryBuilder 根據(jù)作為 yiidbQuery 物件給出的規(guī)範來建立 SELECT SQL 語句。 QueryInterface 定義了以下的最小集合:資料庫查詢要實現(xiàn)的方法。 BaseQuery Trait 表示資料庫查詢的最小方法集。 Schema 是具體 DBMS 特定模式類別的基底類別。 SchemaBuilderTrait 包含建立 yiidbColumnSchemaBuilder 實例的快速方法。 Exception?Table Schema 代表資料庫表的元資料。 。 yiidbmssqlQueryBuilderQueryBuilder 是 MS 資料庫(2008 以上版本)的查詢產(chǎn)生器。 YiidBMSSQLSCHEMASCHEMA是從MS資料庫中擷取元資料的班級(版本2008以上)。 tablesChema代表資料庫表的元資料。 4.1.x 和 5.x).yiidbociColumnSchemaBuilderColumnSchemaBuilder 是 Oracle 資料庫的架構(gòu)建構(gòu)器。 yiidbociQueryBuilderQueryBuilder 是 Oracle 資料庫的查詢建構(gòu)器。 ?? yiidbpgsqlSchemaSchema 是用於從 PostgreSQL 資料庫(版本 9.x 及更高版本)檢索元資料的類別).yiidbiteQueryer yiidbsqliteSchemaSchema 是用於從 SQLite (2/3) 資料庫檢索元資料的類別。 yiidiContainer容器實作一個依賴注入容器。 yiidiInstanceInstance 表示依賴注入(DI)容器或服務(wù)定位器中的命名物件的參考。 yiidiServiceLocatorServiceLocator 實作了一個服務(wù)定位器。persiipersiipersInfperyii??yiipersInflhelypersiipersInflepers yiihelpersBaseJsonBaseJson 為 yiihelpersJson 提供了具體實現(xiàn)。 yiihelpersBaseMarkdownBaseMarkdown 為 yiihelpersMarkdown 提供了具體實作。 yiihelpersBaseStringHelperBase StringHelper 為 yiihelpersStringHelper 提供了具體實作。 yiihelpersBaseUrlBaseUrl 提供yiihelpersUrl.yiihelpersBaseVarDumperBaseVarDpersper」 yiimutexMysqlMutexMysqlMutex 透過MySQL 鎖實現(xiàn)互斥「鎖」機制。 ,用於RBAC 管理。 yiirbacDbManagerDbManager 代表一個授權(quán)管理器,儲存資料庫中的授權(quán)資訊。 yiirbacPermission?yiirbacPhpManager PhpManager代表授權(quán)管理器,它以PHP 腳本文件的形式儲存授權(quán)資訊。 Action 是實現(xiàn)RESTful 的操作類別的基類應(yīng)用程式介面.yiirestActiveControllerActiveController 實作了一組通用的操作來支援器類的基類。 CreateAction 實現(xiàn)了用於根據(jù)給定數(shù)據(jù)創(chuàng)建新模型的API 端點。DeleteAction 實現(xiàn)用於刪除模型的API 端點。?Options操作透過以下方式回應(yīng)OPTIONS 請求發(fā)送回AllowyiirestUpdateAction yii休息UrlRuleyiirestViewActionyiitestActiveFixtureyiitestArrayFixtureyiitestBaseActiveFixtureyiitestDbFixtureyiitestFixtureFixtureTrait 提供了載入、卸載和存取測試案例的固定裝置。 InitDbFixture 表示資料庫相關(guān)測試所需的初始狀態(tài)。 BooleanValidator 檢查屬性值是否為布林值。 CompareValidator 將指定的屬性值與另一個值進行比較。 DateValidator 驗證該屬性是否以正確的 $ 格式表示日期、時間或日期時間。 DefaultValueValidator 將屬性設(shè)定為指定的預(yù)設(shè)值。 EachValidator 根據(jù)嵌入的驗證規(guī)則檢查數(shù)組的每個元素來驗證數(shù)組。 EmailValidator 驗證屬性值是否為有效的電子郵件地址。 ExistValidator 驗證屬性值是否存在於表中。 InValidatorsInlineValidatorInValidatoryiivalidatorsNumberValidatoryiivalidatorsP unycodeAssetyiivalidatorsRangeValidatoryiivalidatorsRegularExpressionValidator ull。 yiivalidatorsSafeValidatorSafeValidator 作為一個虛擬驗證器,其主要目的是標記屬性是安全的大量作業(yè)。 yiivalidatorsStringValidatorStringValidator 驗證屬性值符合一定長度。 yiivalidatorsUniqueValidatorUniqueValidator 驗證屬性值在指定資料庫表中是唯一的。 yiivalidatorsUrlValidator UrlValidator 驗證屬性值是否為有效的http或https URL。 yiivalidatorsValidationAsset此資源包提供了客戶端驗證所需的js檔案。 yiivalidatorsValidatorValidator是所有驗證器類別的基底類別。 yiiwebApplication是所有web應(yīng)用程式類別的基類。 yiiwebAssetBundleAssetBundle表示一組資源檔案的集合,如CSS、JS、images。 yiiwebAssetConverter資產(chǎn)轉(zhuǎn)換器支援將多種流行的腳本格式轉(zhuǎn)換為 JS 或 CSS 腳本。 yiiwebAssetConverterInterfaceAssetConverterInterface 必須由資源轉(zhuǎn)換器類別實作。 yiiwebAssetManagerAssetManager 管理資源包配置和載入。 yiiweb錯誤請求Http Exception表示「錯誤請求」HTTP 表示「錯誤請求」HTTP Exception,Exception表示「錯誤請求」HTTP yiiwebCacheSessionCache實作了一個使用快取作為儲存媒體的Session元件。 yiiwebCompositeUrlRuleyiiwebConflictHttpExceptionConflictHttp代表「衝突」HTTP 異常的基底類。 Cookie 表示一個 cookie 關(guān)聯(lián)的訊息,如 $name、$value、$domain 等。 CookieCollection 保持目前要求中的cookies可用。 SessionSession。 yiiwebErrorAction ErrorAction 使用指定視圖顯示應(yīng)用程式錯誤。 yiiwebErrorHandlerless 的小字元標籤 HTML 標籤內(nèi)或純文字中的空格始終保持不變。 以上就介紹了Yii PHP框架版本2,包含了require、Exception、Bootstrap、JSONP、PHP框架的內(nèi)容,希望對PHP教程有興趣的朋友有幫助。
描述
Yii Yii 是服務(wù)公共框架功能的助手類。
yiiBaseYii BaseYii 是Yii框架的核心助手類。
yiibaseAction Action 是所有控制器動作類別的基底類別。
yiibaseActionEvent ActionEvent 用來表示一個動作事件的事件參數(shù)。
yiibaseActionFilter ActionFilter 是動作過濾器的基底類別。
yiibaseApplication Application 是所有應(yīng)用類別的基底類別。
yiibaseArrayAccessTrait ArrayAccessTrait 為 IteratorAggregate, ArrayAccess 和Countable?提供實作。
yiibaseArrayable Arrayable is the interface that should be implemented by classes who want to support customizable representation of their instances.
Bootstrap
BootstrapInterface is the interface that should be implemented by 類 yiibaseComponentComponent is the base class that implements the property, event and
yiibaseConfigurable, parameter to its constructor.
Exception
yiibaseErrorHandler
Exception
yiibaseExitException ExitException
yiibaseInlineAction
Exception
yiibaseInvalidConfigException InvalidConfigException
yiibaseInvalidParamException InvalidParamException
yiibaseInvalidRouteException InvalidRouteException
yiibaseInvalidValueException InvalidValueException
yiibaseModel
Exception
yiibaseObjectproperty feature.
yiibaseResponse
??
yiibaseUnknownClassException
Exception
yiibaseUnknownMethodException UnknownMethodException represents an Exception caused by acc knownProperty
UnknownPropertyException represents an caused by accessing unknown object properties.yiibaseUser
UserException 是將要顯示給終端使用者的異常的基底類別。 yiibaseView
yiibaseViewContextInterface
??
yiibaseViewRenderer ViewRenderer是視圖渲染類別的基底類別。
yiibaseWidget Widget 是插件類別的基底類別。
yiibehaviorsAttributeBehavior AttributeBehavior automatically assigns a specified value to one or multiple attributes of an ActiveRecord objectBeen cera mject multiple.
yiibehaviorsSluggableBehavior
Application
yiicachingChainedDependencyChainedDependency represents a dependency which is composed of a list of other dependencache. cache
yiicachingDbDependency
yiicachingDeachependingDeacheingDeob??hect??kee class集
yi.
Application
XCache provides XCache caching in terms of an component.
yiicachingZendDataCache ZendDataCache provides Zend data caching in terms of an
CaptchaAction 顯示驗證碼圖。
yiicaptchaCaptchaAsset 此資源包提供了 yiicaptchaCaptcha 小部件所需的 javascript 檔案。
yiicaptchaCaptchaValidator CaptchaValidator 驗證屬性值是否與驗證碼中顯示的驗證碼相同。
yiiconsole Application Application代表一個控制臺Application
yiiconsoleController Controller是控制臺命令類別的基底類別。
yiiconsoleErrorHandler ErrorHandler處理未捕獲的PHP錯誤和例外。 ?
控制臺Request代表控制臺Application. yiiconsoleResponseicon
允許您來刷新快取。
yiiconsolecontrollersMessageController 從原始檔案中提取要翻譯的訊息。
yiiconsolecontrollersMigrateController 管理Application遷移。
yiidataActiveDataProvider ActiveDataProvider 基於 yiidbQuery 和 yiidbActiveQuery 實作了一個資料提供者。
yiidataArrayDataProvider ArrayDataProvider 實作了基於資料數(shù)組的資料提供者。
yiidataBaseDataProvider BaseDataProvider 提供了一個實作 yiidataDataProviderInterface 的基底類別。
yiidataDataProviderInterface DataProviderInterface 是必須的介面由資料提供者實作
yiidataPagination Pagination 表示與資料項分頁相關(guān)的資訊。
yiidataSort Sort 表示與排序相關(guān)的資訊。
yiidataSqlDataProvider SqlDataProvider實作基於普通 SQL 的資料提供者語句。
yiidbActiveQuery ActiveQuery 表示與 Active Record 類別關(guān)聯(lián)的資料庫查詢。
yiidbActiveQueryInterface ActiveQueryInterface 定義了 Active Record 查詢類別要實作的通用介面。
yiidbActiveQueryTrait ActiveQueryTrait實作活動記錄查詢類別的常用方法和屬性。
yiidbActiveRecord ActiveRecord 是用物件表示關(guān)聯(lián)式資料的類別的基底類別。
yiidbActiveRecordInterface ActiveRecordInterface
yiidbActiveRe lationTrait ActiveRelationTrayiidbActiveRe lationTrait
yiidbAfterSaveEvent
yiidbBaseActiveRecord
yiidbBatchQueryResult
yiidbColumnSchema
yiidbColumnSchemaBuilder
yiidbCommand
yiidbConnection
yiidbDataReader
yiidb Exception表示某些 DB- 引起的
yiidbExpression
yiidbIntegrity Exception 表示因違反 DB 約束而導(dǎo)致的
yiidbMigration
yiidbMigrationInterface
yiidbQuery
yiidbQueryBuilder
yiidbQueryInterface
yiidbQueryTrait
yiidbSchema
yiidbSchemaBuilderTrait
yiidbStaleObject
yiidbTableSchema
yiidbTransaction????Transaction表示一個資料庫事務(wù)。
yiidbcubridQueryBuilder QueryBuilder 是 CUBRID 資料庫(版本 9.3.x 及更高版本)的查詢產(chǎn)生器。
yiidbcubridSchema Schema 是用於從CUBRID 資料庫(版本9.3.x 及更高版本)檢索元資料的類別.
SQL Server
SQLServeryiidbmssqltableschema
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 提供了具體實現(xiàn)。
yiihelpersBaseConsole BaseConsole 為 yiihelpersConsole 提供了具體實現(xiàn)。
yiihelpers BaseFileHelper BaseFileHelper 為 yiihelpersFileHelper 提供了具體的實作。
yiihelpersBaseFormatConverter BaseFormatConverter 為 yiihelpersFormatConverter 提供了具體實作。
yiihelpersBaseHtml BaseHtml 為 yiihelpersHtml 提供了具體實現(xiàn)。
yiihelpersBaseHtmlPurifier BaseHtmlPurifier 為 yiihelpersHtmlP 提供了具體實作urifier.
yiihelpersBaseVar” Console helper 提供了命令列相關(guān)任務(wù)的有用方法,例如取得輸入或格式化和著色輸出。
yiihelpersFileHelper 檔案系統(tǒng)助理
yiihelpersFormatConverter FormatConverter 提供了在不同格式化模式格式之間進行轉(zhuǎn)換的功能。
yiihelpersHtml Html 提供了一組用於產(chǎn)生常用 HTML 標籤的靜態(tài)方法。
yiihelpersHtmlPurifier HtmlPurifier 提供了清除 HTML 中任何有害程式碼的功能。
yiihelpersInflector Inflector 將英語名詞複數(shù)和單數(shù)化。它還包含一些其他有用的方法。
yiihelpersJson Json 是一個提供 JSON 資料編碼和解碼的輔助類別。
yiihelpersMarkdown Markdown 提供了將 markdown 轉(zhuǎn)換為 HTML 的能力。
yiihelpersStringHelper StringHelper
yiihelpersUrl Url 提供了一組管理 URL 的靜態(tài)方法。
yiihelpersVarDumper VarDumper 旨在取代有缺陷的 PHP 函數(shù) var_dump 和 print_r。
yiii18nDbMessageSource DbMessageSource 擴充了 yiii18nMessageSource代表一個訊息來源,將翻譯後的訊息儲存在資料庫中。
yiii18nFormatter Formatter 提供了一組常用的資料格式化方法。
yiii18nGettextFile GettextFile 是表示 Gettext 訊息檔案的基底類別。
yiii18nGettextMessageSource GettextMessageSource 表示基於 GNU Gettext 的消息來源。
yiii18nGettextMoFile GettextMoFile 表示 MO Gettext 訊息檔案。
yiii18nGettextPoFile GettextPoFile 代表 PO Gettext 訊息檔案。
yiii18nI18N I18N 提供與國際化(I18N)和在地化(L10N)相關(guān)的功能。
yiii18nMessageFormatter MessageFormatter 允許通過 ICU 消息格式格式化消息
yiii18nMessageSource MessageSource是消息翻譯的基類存儲庫類。
yiii18nMissingTranslationEvent MissingTranslationEvent 表示 yiii18nMessageSource::EVENT_MISSING_TRANSLATION 事件的參數(shù)。
yiii18nPhpMessageSource PhpMessageSource 表示在 PHP 腳本中儲存翻譯訊息的訊息來源。
yiilogDbTarget DbTarget將日誌訊息儲存在資料庫表中。
yiilogDispatcher Dispatcher 管理一組日誌目標。
yiilogEmailTarget EmailTarget 將選定的日誌訊息傳送到指定的電子郵件地址。
yiilogFileTarget FileTarget 記錄將訊息記錄在檔案中。
yiilogLogger Logger 將記錄的訊息記錄在記憶體中,如果設(shè)定了 $dispatcher,則將它們傳送到不同的目標。
yiilogSyslogTarget SyslogTarget 將日誌寫入 syslog。
yii日誌目標 Target 是所有日誌目標類別的基底類別。
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 required by yiimailMessageInterface.
yiimailMailEvent MailEvent 表示用於 yiimailBaseMailer 觸發(fā)的事件的事件參數(shù)。
yiimailMailerInterface MailerInterface 是郵件類別應(yīng)該實現(xiàn)的介面。
y iimailMessageInterface MessageInterface是郵件訊息類別應(yīng)該實現(xiàn)的介面。
yiimutexDbMutex DbMutex是類的基類,它依賴於資料庫,同時實現(xiàn)互斥「鎖定」機制。
yiimutexFileMutex FileMutex實現(xiàn)互斥「透過本地檔案系統(tǒng)檔案實現(xiàn)互斥「鎖定」機制。
yiimutexMutex
yiirestCreateAction
yiirestDeleteAction
yiirestIndexAction
yiirestOptionsAction
標頭。
UpdateAction 實作用於更新模型的API 端點。
UrlRule提供用於簡化 RESTful API 支援的 URL 規(guī)則的建立。
ViewAction 實作用於傳回有關(guān)模型的詳細資訊的 API 端點。
ActiveFixture 表示由ActiveRecord 類別或資料庫表。
ArrayFixture 表示可以從 PHP 檔案載入的任意夾具。
BaseActiveFixture 是支援將夾具資料作為 ActiveRecord 物件存取的夾具類別的基底類別。
DbFixture 是 DB 相關(guān)的 Fixture 的基底類別。
Fixture 表示測試環(huán)境的固定狀態(tài)。 yiitestFixtureTrait
yiitestInitDbFixture
yiivalidatorsBooleanValidator
yiivalidatorsCompareValidator
yiivalidatorsDateValidator
yiivalidatorsDefaultValueValidator
yiivalidatorsEachValidator
yiivalidatorsEmailValidator
yiivalidatorsExistValidator
yiivalidatorsFileValidator FileValidator 驗證屬性是否正在接收有效的上傳檔案。
yiivalidatorsFilterValidator FilterValidator 根據(jù)過濾器轉(zhuǎn)換屬性值。
yiivalidatorsImageValidator ImageValidator 驗證如果屬性接收到有效的image.
InValidatorsInlineValidator InValidator
是對象的定義。
NumberValidator 驗證屬性值是否為數(shù)字。
這個資源包提供 yiivalidatorsEmailValidators 用戶端驗證所需的 javascript 檔案。
RangeValidator 驗證屬性值是否在值清單中。
RegularExpressionValidator 驗證屬性值與指定的$匹配pattern.
Application
BadRequestHttpExceptionException,Exception表示「錯誤請求」HTTP Exception,Exception
表示「錯誤請求」HTTP Exception,ExceptionException,狀態(tài)碼為400。
Session
CompositeUrlRule 是由多個更簡單的規(guī)則組成的 URL 規(guī)則類別的基底類別。
Exception
yiiwebCookie
yiiwebCookieCollection
yiiwebDb DbSession透過使用資料庫作為Session資料儲存來擴充yiiwebion
??ErrorHandler 處理未捕獲的錯誤和異常。
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狀態(tài)碼 415
yiiwebUploadedFile UploadedFile 表示上傳檔案的資訊。
yiiwebUrlManager UrlManager 根據(jù)一組規(guī)則處理 HTTP 請求解析和 URL 建立。
yiiwebU rl規(guī)則 UrlRule 代表 yiiwebUrlManager 用於解析和產(chǎn)生 URL 的規(guī)則。
yiiwebUrlRuleInterface UrlRuleInterface 是應(yīng)該實作 URL 規(guī)則類別的介面。
yiiwebUser User 是「使用者」的類別Application 管理使用者認證狀態(tài)的元件。
yiiwebUserEvent 該事件類別用於 yiiwebUser 類別觸發(fā)的事件。
yiiwebView View 代表 MVC 模式中的視圖物件。
yiiwebViewAction ViewAction 表示根據(jù)使用者指定的參數(shù)顯示視圖的動作。
yiiwebXmlResponseFormatter XmlResponseFormatter 將給定的資料格式化為 XML 回應(yīng)內(nèi)容。
yiiwebYiiAsset 此資源包提供了基礎(chǔ)Yii 框架的 javascript 檔案。
yiiwidgetsActiveField ActiveField 表示 yiiwidgetsActiveForm 中的表單輸入欄位。
yiiwidgetsActiveForm ActiveForm 是一個為一個或多個資料模型建立互動式 HTML 表單的小部件。
yiiwidgetsActiveFormAsset ?
yiiwidgetsBaseListView BaseListView 是顯示來自基類的資料提供者(例如 ListView.
yiiwidgetsBlock Block 記錄 begin( ) 和 end() 呼叫並將其儲存在 yiibaseView::$blocks 中。
yiiwidgetsBreadcrumbs Breadcrumbs 顯示指示目前頁面在整個網(wǎng)站層次結(jié)構(gòu)中的位置的連結(jié)清單。
yiiwidgetsContentDecorator ContentDecorator 記錄 begin( 之間的所有輸出) ) 和 end() 調(diào)用,將其作為 $content 傳遞給給定的視圖文件,然後再渲染結(jié)果。
yiiwidgetsDetailView DetailView 顯示單一資料 $model 的詳細資料。
yiiwidgetsFragmentCache FragmentCache 被 yiibaseView 用來提供頁面片段的快取。
yiiwidgetsInputWidget InputWidget 是收集使用者輸入的小部件的基底類別。
yiiwidgetsLinkPager LinkPager 顯示不同頁面的超連結(jié)清單target.
yiiwidgetsLinkSorter LinkSorter 呈現(xiàn)給定下定義的排序連結(jié)。
yiiwidgetsListView ListView 小工具用於顯示來自資料提供者的資料。每個資料模型都使用指定的視圖進行渲染。
yiiwidgetsMaskedInput MaskedInput 產(chǎn)生屏蔽文字輸入。
yiiwidgetsMaskedInputAsset yiiwidgetsMaskedInput 小部件的資源包。
yiiwidgetsMenu 選單顯示多個使用巢狀 HTML 清單的層級選單。
yiiwidgetsPjax Pjax 是一個整合了 pjax jQuery 插件的小部件。
yiiwidgetsPjaxAsset 此資源包提供 yiiwidgetsPjax 小部件的 javascript 檔案required .

本網(wǎng)站聲明
本文內(nèi)容由網(wǎng)友自願投稿,版權(quán)歸原作者所有。本站不承擔相應(yīng)的法律責任。如發(fā)現(xiàn)涉嫌抄襲或侵權(quán)的內(nèi)容,請聯(lián)絡(luò)admin@php.cn

熱AI工具

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅(qū)動的應(yīng)用程序,用於創(chuàng)建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發(fā)環(huán)境

Dreamweaver CS6

Dreamweaver CS6

視覺化網(wǎng)頁開發(fā)工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

熱門話題

Laravel 教程
1597
29
PHP教程
1488
72
解決kernel_security_check_failure藍色畫面的17種方法 解決kernel_security_check_failure藍色畫面的17種方法 Feb 12, 2024 pm 08:51 PM

Kernelsecuritycheckfailure(內(nèi)核檢查失?。┚褪且粋€比較常見的停止代碼類型,可藍屏錯誤出現(xiàn)不管是什麼原因都讓很多的有用戶們十分的苦惱,下面就讓本站來為用戶們來仔細的介紹一下17種解決方法吧。 kernel_security_check_failure藍色畫面的17種解決方法方法1:移除全部外部裝置當您使用的任何外部裝置與您的Windows版本不相容時,則可能會發(fā)生Kernelsecuritycheckfailure藍色畫面錯誤。為此,您需要在嘗試重新啟動電腦之前拔下全部外部裝置。

2 個月不見,人形機器人 Walker S 會摺衣服了 2 個月不見,人形機器人 Walker S 會摺衣服了 Apr 03, 2024 am 08:01 AM

機器之能報道編輯:吳昕國內(nèi)版的人形機器人+大模型組隊,首次完成疊衣服這類複雜柔性材料的操作任務(wù)。隨著融合了OpenAI多模態(tài)大模型的Figure01揭開神秘面紗,國內(nèi)同行的相關(guān)進展一直備受關(guān)注。就在昨天,國內(nèi)"人形機器人第一股"優(yōu)必選發(fā)布了人形機器人WalkerS深入融合百度文心大模型後的首個Demo,展示了一些有趣的新功能?,F(xiàn)在,得到百度文心大模型能力加持的WalkerS是這個樣子的。和Figure01一樣,WalkerS沒有走動,而是站在桌子後面完成一系列任務(wù)。它可以聽從人類的命令,折疊衣物

Base DEX龍頭 :Aerodrome VS Curve Base DEX龍頭 :Aerodrome VS Curve Mar 26, 2024 pm 04:31 PM

Velodrome模型是受veCRV啟發(fā)的,旨在實現(xiàn)DEX三大關(guān)鍵參與者之間更優(yōu)越的一致性,包括流動性提供者(LPs)、代幣持有者以及需要流動性的項目。然而,許多DeFi領(lǐng)域的參與者仍未完全理解其內(nèi)在原因。透過深入閱讀本文,您將能夠擺脫這一困境,深入了解其中的奧秘。今天我們將探討Velodrome/Aerodrome,在DeFi領(lǐng)域中屬於一個真正成功的案例。本文將對這兩種模式進行比較,並解釋Velodrome是如何在veCRV模型上進行改進的,以及這些微小差異帶來了哪些重大影響。首先,讓我聲明

Win10如何解除安裝Skype for Business?電腦上的skype怎麼徹底卸載方法 Win10如何解除安裝Skype for Business?電腦上的skype怎麼徹底卸載方法 Feb 13, 2024 pm 12:30 PM

Win10skype可以卸載嗎是許多用戶都想知道的問題,因為很多的用戶發(fā)現(xiàn)自己電腦上的預(yù)設(shè)程式上有這個應(yīng)用,擔心刪除後會影響到系統(tǒng)的運行,下面就讓本站來為用戶們來仔細的介紹一下Win10如何卸載SkypeforBusiness吧。 Win10如何解除安裝SkypeforBusiness1、在電腦桌面點選Windows圖標,再點選設(shè)定圖示進入。 2、點選“應(yīng)用”。 3、在搜尋框中輸入“Skype”,點選選取找到的結(jié)果。 4、點選「卸載」。 5

php框架laravel和yii區(qū)別是什麼 php框架laravel和yii區(qū)別是什麼 Apr 30, 2025 pm 02:24 PM

Laravel和Yii的主要區(qū)別在於設(shè)計理念、功能特性和使用場景。 1.Laravel注重開發(fā)的簡潔和愉悅,提供豐富的功能如EloquentORM和Artisan工具,適合快速開發(fā)和初學(xué)者。 2.Yii強調(diào)性能和效率,適用於高負載應(yīng)用,提供高效的ActiveRecord和緩存系統(tǒng),但學(xué)習(xí)曲線較陡。

yii與Docker:容器化和部署您的應(yīng)用程序 yii與Docker:容器化和部署您的應(yīng)用程序 Apr 02, 2025 pm 02:13 PM

使用Docker容器化和部署Yii應(yīng)用的步驟包括:1.創(chuàng)建Dockerfile,定義鏡像構(gòu)建過程;2.使用DockerCompose啟動Yii應(yīng)用和MySQL數(shù)據(jù)庫;3.優(yōu)化鏡像大小和性能。這不僅涉及到具體的技術(shù)操作,還包括理解Dockerfile的工作原理和最佳實踐,以確保高效、可靠的部署。

Base Dawgz ($DAWGZ) 多鏈代幣今天在去中心化交易所推出 Base Dawgz ($DAWGZ) 多鏈代幣今天在去中心化交易所推出 Sep 06, 2024 am 06:34 AM

Base 的第一個多鏈代幣 Base Dawgz ($DAWGZ) 今天在去中心化交易所推出。 $DAWGZ 於歐洲中部時間 18:00 在 DEX 上首次亮相

Yii2程式設(shè)計指南:執(zhí)行Cron服務(wù)的方法 Yii2程式設(shè)計指南:執(zhí)行Cron服務(wù)的方法 Sep 01, 2023 pm 11:21 PM

如果您問「Yii是什麼?」請參閱我之前的教學(xué):Yii框架簡介,其中回顧了Yii的優(yōu)點,並概述了2014年10月發(fā)布的Yii2.0的新增功能。嗯>在這個使用Yii2程式設(shè)計系列中,我將指導(dǎo)讀者使用Yii2PHP框架。在今天的教學(xué)中,我將與您分享如何利用Yii的控制臺功能來執(zhí)行cron作業(yè)。過去,我在cron作業(yè)中使用了wget—可透過Web存取的URL來執(zhí)行我的後臺任務(wù)。這引發(fā)了安全性問題並存在一些效能問題。雖然我在我們的啟動系列安全性專題中討論了一些減輕風險的方法,但我曾希望過渡到控制臺驅(qū)動的命令

See all articles