تخطَّ إلى المحتوى
PHP Ecosystem
Explore

yii\web

هذا المحتوى غير متوفر بلغتك بعد.

API reference › yii › web

NamespaceTypes
yii\web\client1
ClassSummary
ActionBase class for HTTP standalone actions dispatched without a hosting controller.
ApplicationApplication is the base class for all web application classes.
AssetBundleAssetBundle represents a collection of asset files, such as CSS, JS, images.
AssetConverterAssetConverter supports conversion of several popular formats into JS or CSS files.
AssetManagerAssetManager manages asset bundle configuration and loading.
BadRequestHttpExceptionBadRequestHttpException represents a “Bad Request” HTTP exception with status code 400.
CacheSessionCacheSession implements a session component using cache as storage medium.
CompositeUrlRule abstractCompositeUrlRule is the base class for URL rule classes that consist of multiple simpler rules.
ConflictHttpExceptionConflictHttpException represents a “Conflict” HTTP exception with status code 409.
ControllerController is the base class of web controllers.
CookieCookie represents information related with a cookie, such as $name, $value, $domain, etc.
CookieCollectionCookieCollection maintains the cookies available in the current request.
DbSessionDbSession extends Session by using database as session data storage.
ErrorActionErrorAction displays application errors using a specified view.
ErrorHandlerErrorHandler handles uncaught PHP errors and exceptions.
ErrorHandlerRenderEventRepresents events triggered by ErrorHandler.
ForbiddenHttpExceptionForbiddenHttpException represents a “Forbidden” HTTP exception with status code 403.
GoneHttpExceptionGoneHttpException represents a “Gone” HTTP exception with status code 410.
GroupUrlRuleGroupUrlRule represents a collection of URL rules sharing the same prefix in their patterns and routes.
HeaderCollectionHeaderCollection is used by Response to maintain the currently registered HTTP headers.
HeadersAlreadySentExceptionHeadersAlreadySentException represents an exception caused by any headers that were already sent before web response was sent.
HtmlResponseFormatterHtmlResponseFormatter formats the given data into an HTML response content.
HttpExceptionHttpException represents an exception caused by an improper request of the end-user.
JqueryAssetThis asset bundle provides the jQuery JavaScript library.
JsExpressionJsExpression marks a string as a JavaScript expression.
JsonParserParses a raw HTTP request using Json::decode().
JsonResponseFormatterJsonResponseFormatter formats the given data into a JSON or JSONP response content.
LinkLink represents a link object as defined in JSON Hypermedia API Language.
MethodNotAllowedHttpExceptionMethodNotAllowedHttpException represents a “Method Not Allowed” HTTP exception with status code 405.
MultiFieldSession abstractMultiFieldSession is the base class for session storage implementations with multi-field data storage support.
MultipartFormDataParserMultipartFormDataParser parses content encoded as ‘multipart/form-data’.
NotAcceptableHttpExceptionNotAcceptableHttpException represents a “Not Acceptable” HTTP exception with status code 406.
NotFoundHttpExceptionNotFoundHttpException represents a “Not Found” HTTP exception with status code 404.
RangeNotSatisfiableHttpExceptionRangeNotSatisfiableHttpException represents an exception caused by an improper request of the end-user.
RequestThe web Request class represents an HTTP request.
ResponseThe web Response class represents an HTTP response.
ServerErrorHttpExceptionServerErrorHttpException represents an “Internal Server Error” HTTP exception with status code 500.
SessionSession provides session data management and the related configurations.
SessionHandlerSessionHandler implements an SessionHandlerInterface for handling Session with custom session storage.
SessionIteratorSessionIterator implements an iterator for traversing session variables managed by Session.
TooManyRequestsHttpExceptionTooManyRequestsHttpException represents a “Too Many Requests” HTTP exception with status code 429.
UnauthorizedHttpExceptionUnauthorizedHttpException represents an “Unauthorized” HTTP exception with status code 401.
UnprocessableEntityHttpExceptionUnprocessableEntityHttpException represents an “Unprocessable Entity” HTTP exception with status code 422.
UnsupportedMediaTypeHttpExceptionUnsupportedMediaTypeHttpException represents an “Unsupported Media Type” HTTP exception with status code 415.
UploadedFileUploadedFile represents the information for an uploaded file.
UrlManagerUrlManager handles HTTP request parsing and creation of URLs based on a set of rules.
UrlNormalizerUrlNormalizer normalizes URLs for UrlManager and UrlRule.
UrlNormalizerRedirectExceptionUrlNormalizerRedirectException represents an information for redirection which should be performed during the URL normalization.
UrlRuleUrlRule represents a rule used by UrlManager for parsing and generating URLs.
UserUser is the class for the user application component that manages the user authentication status.
UserEventThis event class is used for Events triggered by the User class.
ViewView represents a view object in the MVC pattern.
ViewActionViewAction represents an action that displays a view according to a user-specified parameter.
XmlResponseFormatterXmlResponseFormatter formats the given data into an XML response content.
YiiAssetThis asset bundle provides the base JavaScript files for the Yii Framework.
InterfaceSummary
AssetConverterInterfaceThe AssetConverterInterface must be implemented by asset converter classes.
IdentityInterfaceIdentityInterface is the interface that should be implemented by a class providing identity information.
LinkableLinkable is the interface that should be implemented by classes that typically represent locatable resources.
RequestParserInterfaceInterface for classes that parse the raw request body into a parameters array.
ResponseFormatterInterfaceResponseFormatterInterface specifies the interface needed to format a response before it is sent out.
UrlRuleInterfaceUrlRuleInterface is the interface that should be implemented by URL rule classes.