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_edit_fns.inc
1
<?php
17
require_once SQ_CORE_PACKAGE_PATH.
'/system/cron/cron_job/cron_job_edit_fns.inc'
;
18
30
class
Cron_Job_Clear_Matrix_Cache_Edit_Fns
extends
Cron_Job_Edit_Fns
31
{
32
33
39
function
__construct
()
40
{
41
parent::__construct();
42
43
}
//end constructor
44
45
58
public
function
paintInLineBackend
(
Cron_Job_Clear_Matrix_Cache
$asset,
Backend_Outputter
$o, $prefix, $when=
''
, $form_extra_elements=
''
)
59
{
60
$preposition = ($asset->
attr
(
'type'
) ==
'one_off'
) ? translate(
'matrix_cache_clear_at'
) : translate(
'matrix_cache_clear_every'
);
61
echo translate(
'matrix_cache_clear_this'
, $preposition);
62
$this->
_paintWhenBox
($asset, $o, $prefix, $when, $form_extra_elements);
63
64
return
TRUE;
65
66
}
//end paintInLineBackend()
67
68
79
public
function
processInLineBackend
(
Cron_Job_Clear_Matrix_Cache
$asset,
Backend_Outputter
$o, $prefix)
80
{
81
$when = $this->
_processWhenBox
($asset, $o, $prefix);
82
if
($when) {
83
return
$asset->
setAttrValue
(
'when'
, $when);
84
}
else
{
85
return
FALSE;
86
}
87
88
}
//end processInLineBackend()
89
90
91
}
//end class
92
93
?>
squiz_matrix
core
assets
system
cron
jobs
cron_job_clear_matrix_cache
cron_job_clear_matrix_cache_edit_fns.inc
Generated on Tue Jan 29 2013 14:04:39 for Squiz Matrix by
1.8.3.1