Manual:LocalFile.php
Jump to navigation
Jump to search
![]() | This page is outdated. |
MediaWiki file: LocalFile.php | |
---|---|
Location: | includes/filerepo/file/ |
Source code: | master • 1.35.1 • 1.31.12 |
Classes: | LocalFile |
LocalFile.php contains a class, LocalFile (which extends File ) to represent a local file in the wiki's own database.
Methods[edit]
upload( $srcPath, $comment, $pageText, $flags = 0, $props = false, $timestamp = false, $user = null )
Upload a file and record it in the DBrecordUpload2()
Record a file upload in the upload log and the image table