Which function I return the current id file? ojs3.1.1

Hello.

I need get current filne number. What function returnet current file id ( current value (last_value) in article_files_file_id_seq ) return to me? what function does increment ( current value (last_value) in article_files_file_id_seq ) to the next value?

Screenshot_20180516_080312

Regards
Cristian

I suspect that this method will return the number you want: https://github.com/pkp/pkp-lib/blob/master/classes/submission/SubmissionFile.inc.php#L74

Yes . exactly @Vitaliy . Thanks :slight_smile: