PHP 클래스 Controllers\xAPI\StatementStoreController

파일 보기 프로젝트 열기: learninglocker/learninglocker

공개 메소드들

메소드 설명
__construct ( Locker\Repository\Statement\Repository $statement_repo ) Constructs a new StatementStoreController.
store ( $options ) : Response Stores (POSTs) a newly created statement in storage.
update ( $options ) : Response Updates (PUTs) Statement with the given id.

비공개 메소드들

메소드 설명
createStatements ( $options, callable $modifier = null ) : AssocArray Creates statements from the content of the request.
getAuthority ( $client )
getCORSHeaders ( ) : [String Gets the CORS headers.
getParts ( ) : ['content' Deals with multipart requests.

메소드 상세

__construct() 공개 메소드

Constructs a new StatementStoreController.
public __construct ( Locker\Repository\Statement\Repository $statement_repo )
$statement_repo Locker\Repository\Statement\Repository

store() 공개 메소드

Stores (POSTs) a newly created statement in storage.
public store ( $options ) : Response
리턴 Response

update() 공개 메소드

Updates (PUTs) Statement with the given id.
public update ( $options ) : Response
리턴 Response