/** * @param bool * @return \Nette\Database\Table\Selection */ protected function getTable($ignoreDeleted = FALSE) { $table = parent::getTable(); if (!$ignoreDeleted) { $this->filterOutDeleted($table); } return $table; }