I have a class which is having a static function named save
if ($subid = $vpl->add_submission( $userid, $files, $comments, $errormessage )) { $id = $vp