function isTheAction() { $actions = array('activate', 'delete'); return parent::isTheAction() and !empty($_GET['action']) and in_array($_GET['action'], $actions); }