Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
cron_job_future_permission_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
30
class
Cron_Job_Future_Permission_Management
extends
Asset_Management
31
{
32
33
40
function
__construct
(
Package_Manager
$pm)
41
{
42
Asset_Management::__construct($pm);
43
44
$this->vars = Array(
45
'type'
=> Array(
46
'default'
=>
'one_off'
,
47
),
48
'add'
=> Array(
49
'added'
=>
'0.1'
,
50
'type'
=>
'boolean'
,
51
'default'
=> TRUE,
52
'parameters'
=> Array(
53
'allow_empty'
=> FALSE,
54
),
55
'description'
=>
'The flag to indicate adding or removing the permission'
,
56
),
57
'permission'
=> Array(
58
'added'
=>
'0.1'
,
59
'type'
=>
'int'
,
60
'default'
=> SQ_PERMISSION_READ,
61
'description'
=>
'The permission to change the asset to'
,
62
),
63
'userids'
=> Array(
64
'added'
=>
'0.1'
,
65
'type'
=>
'serialise'
,
66
'default'
=> Array(),
67
'description'
=>
'The userids and grants of permissions'
,
68
),
69
'cascade_to_new'
=> Array(
70
'added'
=>
'0.1'
,
71
'type'
=>
'boolean'
,
72
'default'
=> FALSE,
73
'parameters'
=> Array(
74
'allow_empty'
=> FALSE,
75
),
76
'description'
=>
'New children should inherit permissions from this asset or not'
,
77
),
78
'dependants_only'
=> Array(
79
'added'
=>
'0.1'
,
80
'type'
=>
'boolean'
,
81
'default'
=> TRUE,
82
'parameters'
=> Array(
83
'allow_empty'
=> FALSE,
84
),
85
'description'
=>
'If the permission change should cascade to all children'
,
86
),
87
);
88
89
}
//end constructor
90
91
92
}
//end class
93
?>
squiz_matrix
core
assets
system
cron
jobs
cron_job_future_permission
cron_job_future_permission_management.inc
Generated on Tue Jan 29 2013 14:04:40 for Squiz Matrix by
1.8.3.1