PHP Class App\Models\Forum\Authorize

Inheritance: extends Illuminate\Database\Eloquent\Model
Exibir arquivo Open project: ppy/osu-web Class Usage Examples

Public Properties

Property Type Description
$timestamps

Protected Properties

Property Type Description
$table

Public Methods

Method Description
aclCheck ( $user, $authOption, $forum )
aclGetAllowedForums ( $user, $authOption )
increasesPostsCount ( $user, $forum )
postsCountedForums ( $user )
scopeDirectAcl ( $query, $groupIds, $authOptionId )
scopeRoleAcl ( $query, $groupIds, $authOptionId )

Method Details

aclCheck() public static method

public static aclCheck ( $user, $authOption, $forum )

aclGetAllowedForums() public static method

public static aclGetAllowedForums ( $user, $authOption )

increasesPostsCount() public static method

public static increasesPostsCount ( $user, $forum )

postsCountedForums() public static method

public static postsCountedForums ( $user )

scopeDirectAcl() public method

public scopeDirectAcl ( $query, $groupIds, $authOptionId )

scopeRoleAcl() public method

public scopeRoleAcl ( $query, $groupIds, $authOptionId )

Property Details

$table protected_oe property

protected $table

$timestamps public_oe property

public $timestamps