Squiz Matrix  4.12.2
 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 
30 {
31 
32 
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 ?>