PHP 클래스 yii\rest\ViewAction

For more details and usage information on ViewAction, see the guide article on rest controllers.
부터: 2.0
저자: Qiang Xue ([email protected])
상속: extends Action
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

공개 메소드들

메소드 설명
run ( string $id ) : yii\db\ActiveRecordInterface Displays a model.

메소드 상세

run() 공개 메소드

Displays a model.
public run ( string $id ) : yii\db\ActiveRecordInterface
$id string the primary key of the model.
리턴 yii\db\ActiveRecordInterface the model being displayed