PHP Class yii\rest\OptionsAction

For more details and usage information on OptionsAction, see the guide article on rest controllers.
Since: 2.0
Author: Qiang Xue ([email protected])
Inheritance: extends yii\base\Action
Afficher le fichier Open project: yiisoft/yii2 Class Usage Examples

Méthodes publiques

Свойство Type Description
$collectionOptions the HTTP verbs that are supported by the collection URL
$resourceOptions the HTTP verbs that are supported by the resource URL

Méthodes publiques

Méthode Description
run ( string $id = null ) Responds to the OPTIONS request.

Method Details

run() public méthode

Responds to the OPTIONS request.
public run ( string $id = null )
$id string

Property Details

$collectionOptions public_oe property

the HTTP verbs that are supported by the collection URL
public $collectionOptions

$resourceOptions public_oe property

the HTTP verbs that are supported by the resource URL
public $resourceOptions