<?php
 
/*
 
* It is required by the FSOP file. 
 
* The file File is a class that contain the properties of a file. 
 
* A instance of this class is used in ls() function which is implemented in the FSOP class.
 
*/
 
class File {
 
    public $file_name;
 
    public $file_size;
 
    public $permission;
 
    public $last_modified;
 
    public $file_type;
 
    public $file_ext;
 
 
    function __construct($file_name, $file_size, $permission, $last_modified, $file_type, $file_ext){
 
        $this->file_name=$file_name;
 
        $this->file_size=$file_size;
 
        $this->permission=$permission;
 
        $this->last_modified=$last_modified;
 
        $this->file_type=$file_type;
 
        $this->file_ext=$file_ext;
 
    }
 
}
 
 |