Manual:LocalFile.php

LocalFile.php contains a class, LocalFile (which extends ) to represent a local file in the wiki's own database.

Methods

 * Upload a file and record it in the DB
 * Record a file upload in the upload log and the image table