Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
cron_job_metadata_triggers_edit_fns.inc
1 <?php
18 require_once SQ_CORE_PACKAGE_PATH.'/system/cron/cron_job/cron_job_edit_fns.inc';
19 
29 {
30 
35  function __construct()
36  {
37  parent::__construct();
38 
39  }//end constructor
40 
41 
52  function useCronLastRunDisabled(&$asset, $prefix) {
53  $last_run_enabled = $asset->attr('use_cron_last_run');
54 
55  // this is asking if it's disabled, so, flip the attribute value
56  return (!$last_run_enabled);
57  }
58 }//end class
59 ?>