public function clearCache()
{
$subDir = $this->getSubDur();
$dirToRemove = $this->getModule()->getCachePath() . DIRECTORY_SEPARATOR . $subDir;
if (preg_match('/' . preg_quote($this->modelName, '/') . '/', $dirToRemove)) {
BaseFileHelper::removeDirectory($dirToRemove);
}
return true;
}