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
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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