public static function checkButton() { if (isset($_REQUEST['delete'])) { TopicModel::deleteTopics(); } }