PHP 클래스 Flarum\Core\Permission

상속: extends Flarum\Database\AbstractModel
파일 보기 프로젝트 열기: flarum/core 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$table

공개 메소드들

메소드 설명
group ( ) : BelongsTo Define the relationship with the group that this permission is for.
map ( ) : array[] Get a map of permissions to the group IDs that have them.

보호된 메소드들

메소드 설명
setKeysForSaveQuery ( Builder $query ) : Builder Set the keys for a save update query.

메소드 상세

group() 공개 메소드

Define the relationship with the group that this permission is for.
public group ( ) : BelongsTo
리턴 Illuminate\Database\Eloquent\Relations\BelongsTo

map() 공개 정적인 메소드

Get a map of permissions to the group IDs that have them.
public static map ( ) : array[]
리턴 array[]

setKeysForSaveQuery() 보호된 메소드

Set the keys for a save update query.
protected setKeysForSaveQuery ( Builder $query ) : Builder
$query Illuminate\Database\Eloquent\Builder
리턴 Illuminate\Database\Eloquent\Builder

프로퍼티 상세

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

protected $table