Example #1
0
 public function __construct(&$params)
 {
     $params->size = 0;
     $params->message = '';
     $params->error = false;
     $this->params = $params;
     require_once __DIR__ . '/helpers/helpers.php';
     $this->helpers = plgSystemCacheCleanerHelpers::getInstance($params);
 }
Example #2
0
 public function __construct()
 {
     require_once __DIR__ . '/helpers.php';
     $this->helpers = plgSystemCacheCleanerHelpers::getInstance();
     $this->params = $this->helpers->getParams();
 }