public static function save($field, $attach_type = 'images', $obj = null) { $uploader = new Uploader(); $upload_file = $uploader->saveAttach($field, $attach_type, $obj); return $upload_file; }