PHP Класс yii\rest\OptionsAction

For more details and usage information on OptionsAction, see the guide article on rest controllers.
С версии: 2.0
Автор: Qiang Xue ([email protected])
Наследование: extends yii\base\Action
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$collectionOptions the HTTP verbs that are supported by the collection URL
$resourceOptions the HTTP verbs that are supported by the resource URL

Открытые методы

Метод Описание
run ( string $id = null ) Responds to the OPTIONS request.

Описание методов

run() публичный Метод

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

Описание свойств

$collectionOptions публичное свойство

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

$resourceOptions публичное свойство

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