Manual:LocalFile.php
Jump to navigation
Jump to search
![]() | このページは直近の情報を反映していません。 |
MediaWiki ファイル: LocalFile.php | |
---|---|
場所: | includes/filerepo/file/ |
ソース コード: | master • 1.35.2 • 1.31.14 |
クラス: | LocalFile |
LocalFile.php contains a class, LocalFile (which extends File ) to represent a local file in the wiki's own database.
メソッド
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