Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
cron_job_squid_cache_purge_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_Squid_Cache_Purge_Edit_Fns
extends
Cron_Job_Edit_Fns
31
{
32
33
38
function
__construct
()
39
{
40
parent::__construct();
41
42
}
//end constructor
43
44
57
public
function
paintInLineBackend
(
Asset
$asset,
Backend_Outputter
$o, $prefix, $when=
''
, $form_extra_elements=
''
)
58
{
59
$preposition = ($asset->
attr
(
'type'
) ==
'one_off'
) ? translate(
'squid_clear_at'
) : translate(
'squid_clear_every'
);
60
echo translate(
'squid_clear_this'
, $preposition);
61
$this->
_paintWhenBox
($asset, $o, $prefix, $when, $form_extra_elements);
62
63
return
TRUE;
64
65
}
//end paintInLineBackend()
66
67
78
public
function
processInLineBackend
(
Asset
$asset,
Backend_Outputter
$o, $prefix)
79
{
80
$when = $this->
_processWhenBox
($asset, $o, $prefix);
81
if
($when) {
82
return
$asset->
setAttrValue
(
'when'
, $when);
83
}
else
{
84
return
FALSE;
85
}
86
87
}
//end processInLineBackend()
88
89
90
}
//end class
91
92
?>
squiz_matrix
packages
squid
cron
jobs
cron_job_squid_cache_purge
cron_job_squid_cache_purge_edit_fns.inc
Generated on Tue Jan 29 2013 14:05:04 for Squiz Matrix by
1.8.3.1