public static function comment($ctx) { $aid = $ctx->getPost('id'); $who = $ctx->getPost('who'); $comment = $ctx->getPost('comment'); try { ADB::saveCallLog($aid, $who, $comment); $ctx->redirect('/view/' . $aid); } catch (Exception $e) { return $e->getMessage(); } }