PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / src / Framework / Permissions / Contracts / UserPermissionsInterface.php

UserPermissionsInterface.php in GiveWP – Donation Plugin and Fundraising Platform 4.16.9, at src/Framework/Permissions/Contracts/UserPermissionsInterface.php

45 lines 743 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Give\Framework\Permissions\Contracts;
4
5 /**
6 * @since 4.14.0
7 */
8 interface UserPermissionsInterface
9 {
10 /**
11 * Get the capability type (e.g., 'give_form', 'give_payment').
12 *
13 * @since 4.14.0
14 */
15 public static function getType(): string;
16
17 /**
18 * Check if user can create.
19 *
20 * @since 4.14.0
21 */
22 public function canCreate(): bool;
23
24 /**
25 * Check if user can view/read.
26 *
27 * @since 4.14.0
28 */
29 public function canView(): bool;
30
31 /**
32 * Check if user can edit.
33 *
34 * @since 4.14.0
35 */
36 public function canEdit(): bool;
37
38 /**
39 * Check if user can delete.
40 *
41 * @since 4.14.0
42 */
43 public function canDelete(): bool;
44 }
45