/** * This method redirects data to editing method in Comment object * @param $commentMsg * @param $pageID * @param $oldTimeStamp */ public function editComment($commentMsg, $pageID, $oldTimeStamp) { $comment = new Comment($_SESSION['tastyRecipeUser'], $commentMsg, $pageID); $comment->edit($oldTimeStamp); }