public function execute()
{
// get parameters
$this->id = $this->getParameter('id', 'int');
// does the item exists
if ($this->id !== null && BackendSearchModel::existsSynonymById($this->id)) {
parent::execute();
$this->getData();
$this->loadForm();
$this->validateForm();
$this->parse();
$this->display();
} else {
$this->redirect(BackendModel::createURLForAction('Index') . '&error=non-existing');
}
}