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
Datei anzeigen Open project: yiisoft/yii2 Class Usage Examples

Public Properties

Property Type Description
$collectionOptions the HTTP verbs that are supported by the collection URL
$resourceOptions the HTTP verbs that are supported by the resource URL

Public Methods

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

Method Details

run() public method

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