Permcat
- Full name:
\Zotlabs\Lib\Permcat
Properties
permcats
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$channel_id |
int |
listing
fetch
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
string |
Return Value:
-
- \e array with permcats
-
- \e bool \b error if $name not found in permcats true
load_permcats
Parameters:
Parameter | Type | Description |
---|---|---|
$uid |
mixed |
find_permcat
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$arr |
mixed | |
$name |
mixed |
update
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel_id |
mixed | |
$name |
mixed | |
$permarr |
mixed |
delete
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel_id |
mixed | |
$name |
mixed |
assign
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$channel |
array | |
$role |
string | the name of the role |
$contacts |
array | an array of contact hashes |
Automatically generated on 2025-03-19