For readability, what do you think about doing this (in both these functions):

```
$submit = $this->request->is_set_post('submit');
$preview = $this->request->is_set_post('preview');

if ($submit || $preview)
```