-
SuppressWarnings
-
Table of Contents
Interfaces
- ResourcePolicyInterface
- PhotoPolicyInterface
Methods
-
__call()
: bool
-
autoApprove()
: bool
-
checkModeratorSetting()
: bool
-
create()
: bool
-
delete()
: bool
-
deleteOwn()
: bool
-
download()
: bool
-
removeProfileCoverOrAvatar()
: bool
-
setParentAvatar()
: bool
-
setParentCover()
: bool
-
setProfileAvatar()
: bool
-
setProfileCover()
: bool
-
tagFriend()
: bool
-
update()
: bool
-
updateAlbum()
: bool
-
updateOwn()
: bool
-
uploadToAlbum()
: bool
-
view()
: bool
-
viewAny()
: bool
-
viewOnProfilePage()
: bool
-
viewOwner()
: bool
__call()
public
__call(string $ability, array<string|int, mixed> $arguments) : bool
Parameters
-
$ability
: string
-
-
$arguments
: array<string|int, mixed>
-
autoApprove()
public
autoApprove(User $context, User $owner) : bool
Parameters
-
$context
: User
-
-
$owner
: User
-
checkModeratorSetting()
public
checkModeratorSetting(User $user, User $owner, string $settingName) : bool
Parameters
-
$user
: User
-
-
$owner
: User
-
-
$settingName
: string
-
create()
public
create(User $user[, User|null $owner = null ]) : bool
Parameters
-
$user
: User
-
-
$owner
: User|null
= null
-
delete()
public
delete(User $user[, Entity|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Entity|null
= null
-
deleteOwn()
public
deleteOwn(User $user[, Entity|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Entity|null
= null
-
download()
public
download(User $user[, Content|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Content|null
= null
-
removeProfileCoverOrAvatar()
public
removeProfileCoverOrAvatar(User $user[, Content|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Content|null
= null
-
setParentAvatar()
public
setParentAvatar(User $user[, Content|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Content|null
= null
-
setParentCover()
public
setParentCover(User $user[, Content|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Content|null
= null
-
setProfileAvatar()
public
setProfileAvatar(User $user[, Content|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Content|null
= null
-
setProfileCover()
public
setProfileCover(User $user[, Content|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Content|null
= null
-
tagFriend()
public
tagFriend(User $user[, User|null $friend = null ][, Content|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$friend
: User|null
= null
-
-
$resource
: Content|null
= null
-
update()
public
update(User $user[, Entity|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Entity|null
= null
-
updateAlbum()
public
updateAlbum(User $context, Content|null $content) : bool
Parameters
-
$context
: User
-
-
$content
: Content|null
-
updateOwn()
public
updateOwn(User $user[, Content|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Content|null
= null
-
uploadToAlbum()
public
uploadToAlbum(User $context, User|null $owner[, int|null $albumId = null ]) : bool
Parameters
-
$context
: User
-
-
$owner
: User|null
-
-
$albumId
: int|null
= null
-
view()
public
view(User $user, Entity $resource) : bool
Parameters
-
$user
: User
-
-
$resource
: Entity
-
viewAny()
public
viewAny(User $user[, User|null $owner = null ]) : bool
Parameters
-
$user
: User
-
-
$owner
: User|null
= null
-
viewOnProfilePage()
public
viewOnProfilePage(User $user, User $owner) : bool
Parameters
-
$user
: User
-
-
$owner
: User
-
viewOwner()
public
viewOwner(User $user[, User|null $owner = null ]) : bool
Parameters
-
$user
: User
-
-
$owner
: User|null
= null
-