web
Table of Contents
Interfaces
- AssetConverterInterface
- The AssetConverterInterface must be implemented by asset converter classes.
- IdentityInterface
- IdentityInterface is the interface that should be implemented by a class providing identity information.
- Linkable
- Linkable is the interface that should be implemented by classes that typically represent locatable resources.
- RequestParserInterface
- Interface for classes that parse the raw request body into a parameters array.
- ResponseFormatterInterface
- ResponseFormatterInterface specifies the interface needed to format a response before it is sent out.
- UrlRuleInterface
- UrlRuleInterface is the interface that should be implemented by URL rule classes.
Classes
- Application
- Application is the base class for all web application classes.
- AssetBundle
- AssetBundle represents a collection of asset files, such as CSS, JS, images.
- AssetConverter
- AssetConverter supports conversion of several popular formats into JS or CSS files.
- AssetManager
- AssetManager manages asset bundle configuration and loading.
- BadRequestHttpException
- BadRequestHttpException represents a "Bad Request" HTTP exception with status code 400.
- CacheSession
- CacheSession implements a session component using cache as storage medium.
- CompositeUrlRule
- CompositeUrlRule is the base class for URL rule classes that consist of multiple simpler rules.
- ConflictHttpException
- ConflictHttpException represents a "Conflict" HTTP exception with status code 409.
- Controller
- Controller is the base class of web controllers.
- Cookie
- Cookie represents information related with a cookie, such as [[name]], [[value]], [[domain]], etc.
- CookieCollection
- CookieCollection maintains the cookies available in the current request.
- DbSession
- DbSession extends [[Session]] by using database as session data storage.
- ErrorAction
- ErrorAction displays application errors using a specified view.
- ErrorHandler
- ErrorHandler handles uncaught PHP errors and exceptions.
- ForbiddenHttpException
- ForbiddenHttpException represents a "Forbidden" HTTP exception with status code 403.
- GoneHttpException
- GoneHttpException represents a "Gone" HTTP exception with status code 410.
- GroupUrlRule
- GroupUrlRule represents a collection of URL rules sharing the same prefix in their patterns and routes.
- HeaderCollection
- HeaderCollection is used by [[Response]] to maintain the currently registered HTTP headers.
- HeadersAlreadySentException
- HeadersAlreadySentException represents an exception caused by
any headers that were already sent before web response was sent.
- HtmlResponseFormatter
- HtmlResponseFormatter formats the given data into an HTML response content.
- HttpException
- HttpException represents an exception caused by an improper request of the end-user.
- JqueryAsset
- This asset bundle provides the [jQuery](https://jquery.com/) JavaScript library.
- JsExpression
- `JsExpression` marks a string as a JavaScript expression.
- JsonParser
- Parses a raw HTTP request using [[\yii\helpers\Json::decode()]].
- JsonResponseFormatter
- JsonResponseFormatter formats the given data into a JSON or JSONP response content.
- Link
- Link represents a link object as defined in [JSON Hypermedia API Language](https://tools.ietf.org/html/draft-kelly-json-hal-03).
- MethodNotAllowedHttpException
- MethodNotAllowedHttpException represents a "Method Not Allowed" HTTP exception with status code 405.
- MultiFieldSession
- MultiFieldSession is the base class for session storage implementations with multi-field data storage support.
- MultipartFormDataParser
- MultipartFormDataParser parses content encoded as 'multipart/form-data'.
- NotAcceptableHttpException
- NotAcceptableHttpException represents a "Not Acceptable" HTTP exception with status code 406.
- NotFoundHttpException
- NotFoundHttpException represents a "Not Found" HTTP exception with status code 404.
- RangeNotSatisfiableHttpException
- RangeNotSatisfiableHttpException represents an exception caused by an improper request of the end-user.
- Request
- The web Request class represents an HTTP request.
- Response
- The web Response class represents an HTTP response.
- ServerErrorHttpException
- ServerErrorHttpException represents an "Internal Server Error" HTTP exception with status code 500.
- Session
- Session provides session data management and the related configurations.
- SessionIterator
- SessionIterator implements an [[\Iterator|iterator]] for traversing session variables managed by [[Session]].
- TooManyRequestsHttpException
- TooManyRequestsHttpException represents a "Too Many Requests" HTTP exception with status code 429.
- UnauthorizedHttpException
- UnauthorizedHttpException represents an "Unauthorized" HTTP exception with status code 401.
- UnprocessableEntityHttpException
- UnprocessableEntityHttpException represents an "Unprocessable Entity" HTTP
exception with status code 422.
- UnsupportedMediaTypeHttpException
- UnsupportedMediaTypeHttpException represents an "Unsupported Media Type" HTTP exception with status code 415.
- UploadedFile
- UploadedFile represents the information for an uploaded file.
- UrlManager
- UrlManager handles HTTP request parsing and creation of URLs based on a set of rules.
- UrlNormalizer
- UrlNormalizer normalizes URLs for [[UrlManager]] and [[UrlRule]].
- UrlNormalizerRedirectException
- UrlNormalizerRedirectException represents an information for redirection which should be
performed during the URL normalization.
- UrlRule
- UrlRule represents a rule used by [[UrlManager]] for parsing and generating URLs.
- User
- User is the class for the `user` application component that manages the user authentication status.
- UserEvent
- This event class is used for Events triggered by the [[User]] class.
- View
- View represents a view object in the MVC pattern.
- ViewAction
- ViewAction represents an action that displays a view according to a user-specified parameter.
- XmlResponseFormatter
- XmlResponseFormatter formats the given data into an XML response content.
- YiiAsset
- This asset bundle provides the base JavaScript files for the Yii Framework.