1 |
<?php |
2 |
|
3 |
define("YAKKA_PERMISSION_VIEW", 1); |
4 |
define("YAKKA_PERMISSION_EDIT", 2); |
5 |
define("YAKKA_PERMISSION_DELETE", 4); |
6 |
define("YAKKA_PERMISSION_CREATE", 8); |
7 |
|
8 |
class YakkaPermissionStorage { |
9 |
function YakkaPermissionStorage($parameters = null) {} |
10 |
|
11 |
function getViewPermissionOf($accessor, $accessorType = null) {} |
12 |
function getEditPermissionOf($accessor, $accessorType = null) {} |
13 |
function getDeletePermissionOf($accessor, $accessorType = null) {} |
14 |
function getCreatePermissionOf($accessorType) {} |
15 |
} |