public function delete()
{
// empty object cache
try {
Cache::clearTag("customlayout_" . $this->getId());
} catch (\Exception $e) {
}
// empty output cache
try {
Cache::clearTag("output");
} catch (\Exception $e) {
}
$this->getDao()->delete();
}