예제 #1
0
 private static function editTopic()
 {
     $model = new TopicModel();
     $model->id = $_GET['id'];
     $model->body = $_POST['topicBody'];
     $model->editTopicBody();
 }
예제 #2
0
 public static function checkButton()
 {
     if (isset($_REQUEST['delete'])) {
         TopicModel::deleteTopics();
     }
 }