Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
cron_job_clear_matrix_cache_management.inc
1
<?php
17
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
18
29
class
Cron_Job_Clear_Matrix_Cache_Management
extends
Asset_Management
30
{
31
32
39
function
__construct
(
Package_Manager
$pm)
40
{
41
Asset_Management::__construct($pm);
42
43
$this->vars = Array(
44
'type'
=> Array(
45
'default'
=>
'one_off'
,
46
),
47
'ownerid'
=> Array(
48
'added'
=>
'0.1'
,
49
'type'
=>
'assetid'
,
50
'default'
=> 0,
51
'description'
=>
'The ID of the asset which Matrix cache to be cleared'
,
52
),
53
'level'
=> Array(
54
'added'
=>
'0.1'
,
55
'type'
=>
'text'
,
56
'default'
=>
'single'
,
57
'description'
=>
'Asset or, asset and children/dependent'
,
58
),
59
'type_codes'
=> Array(
60
'added'
=>
'0.1'
,
61
'type'
=>
'serialise'
,
62
'default'
=> Array(),
63
'description'
=>
'Asset type to clear cache for'
,
64
),
65
'repopulate'
=> Array(
66
'added'
=>
'0.1'
,
67
'type'
=>
'boolean'
,
68
'default'
=> FALSE,
69
'description'
=>
'Whether we should repopulate the cache by requesting the URLs of the asset'
,
70
),
71
);
72
73
}
//end constructor
74
75
76
}
//end class
77
78
?>
squiz_matrix
core
assets
system
cron
jobs
cron_job_clear_matrix_cache
cron_job_clear_matrix_cache_management.inc
Generated on Tue Jan 29 2013 14:04:39 for Squiz Matrix by
1.8.3.1