PHP 클래스 LrsController, learninglocker

상속: extends BaseController
파일 보기 프로젝트 열기: learninglocker/learninglocker

보호된 프로퍼티들

프로퍼티 타입 설명
$analytics
$lrs
$statements

공개 메소드들

메소드 설명
__construct ( Locker\Repository\Lrs\Repository $lrs, Locker\Repository\Statement\Repository $statement ) Constructs a new LrsController.
api ( String $lrs_id ) : View Display the api view.
changeRole ( $lrs_id, $user, $role )
create ( ) : View Show the form for creating a new resource.
destroy ( String $lrs_id ) : View Remove the specified resource from storage.
edit ( String $lrs_id ) : View Show the form for editing the specified resource.
getGraphData ( $lrs_id )
getStats ( $lrs_id, $segment = '' )
index ( ) : View Display a listing of LRSs available for user.
inviteUsersForm ( $lrs_id )
show ( String $lrs_id ) : View Display the specified resource.
statements ( String $lrs_id ) : View Display statements for this LRS
store ( ) : View Store a newly created resource in storage.
update ( String $lrs_id ) : View Update the specified resource in storage.
users ( String $lrs_id ) : View Display users with access to this lrs.
usersRemove ( $lrs_id )

비공개 메소드들

메소드 설명
getLrs ( $lrs_id )

메소드 상세

__construct() 공개 메소드

Constructs a new LrsController.
public __construct ( Locker\Repository\Lrs\Repository $lrs, Locker\Repository\Statement\Repository $statement )
$lrs Locker\Repository\Lrs\Repository
$statement Locker\Repository\Statement\Repository

api() 공개 메소드

Display the api view.
public api ( String $lrs_id ) : View
$lrs_id String
리턴 View

changeRole() 공개 메소드

public changeRole ( $lrs_id, $user, $role )

create() 공개 메소드

Show the form for creating a new resource.
public create ( ) : View
리턴 View

destroy() 공개 메소드

Remove the specified resource from storage.
public destroy ( String $lrs_id ) : View
$lrs_id String
리턴 View

edit() 공개 메소드

Show the form for editing the specified resource.
public edit ( String $lrs_id ) : View
$lrs_id String
리턴 View

getGraphData() 공개 메소드

public getGraphData ( $lrs_id )

getStats() 공개 메소드

public getStats ( $lrs_id, $segment = '' )

index() 공개 메소드

Display a listing of LRSs available for user.
public index ( ) : View
리턴 View

inviteUsersForm() 공개 메소드

public inviteUsersForm ( $lrs_id )

show() 공개 메소드

This is a temp hack until the single page app for analytics is ready. v1.0 stable.
public show ( String $lrs_id ) : View
$lrs_id String
리턴 View

statements() 공개 메소드

Display statements for this LRS
public statements ( String $lrs_id ) : View
$lrs_id String
리턴 View

store() 공개 메소드

Store a newly created resource in storage.
public store ( ) : View
리턴 View

update() 공개 메소드

Update the specified resource in storage.
public update ( String $lrs_id ) : View
$lrs_id String
리턴 View

users() 공개 메소드

Display users with access to this lrs.
public users ( String $lrs_id ) : View
$lrs_id String
리턴 View

usersRemove() 공개 메소드

public usersRemove ( $lrs_id )

프로퍼티 상세

$analytics 보호되어 있는 프로퍼티

protected $analytics

$lrs 보호되어 있는 프로퍼티

protected $lrs

$statements 보호되어 있는 프로퍼티

protected $statements