yii\rest
Ce contenu n’est pas encore disponible dans votre langue.
API reference › yii › rest
Classes
Section titled “Classes”| Class | Summary |
|---|---|
Action | Action is the base class for action classes that implement RESTful API. |
ActiveController | ActiveController implements a common set of actions for supporting RESTful access to ActiveRecord. |
Controller | Controller is the base class for RESTful API controller classes. |
CreateAction | CreateAction implements the API endpoint for creating a new model from the given data. |
DeleteAction | DeleteAction implements the API endpoint for deleting a model. |
IndexAction | IndexAction implements the API endpoint for listing multiple models. |
OptionsAction | OptionsAction responds to the OPTIONS request by sending back an Allow header. |
Serializer | Serializer converts resource objects and collections into array representation. |
UpdateAction | UpdateAction implements the API endpoint for updating a model. |
UrlRule | UrlRule is provided to simplify the creation of URL rules for RESTful API support. |
ViewAction | ViewAction implements the API endpoint for returning the detailed information about a model. |