/** * Construct file revision object * * @param void * @return ProjectFileRevision */ function __construct() { $this->addProtectedAttribute('file_id', 'file_type_id', 'system_filename', 'thumb_filename', 'revision_number', 'type_string', 'filesize'); parent::__construct(); }
/** * Construct file revision object * * @param void * @return ProjectFileRevision */ function __construct() { $this->addProtectedAttribute('file_id', 'file_type_id', 'system_filename', 'thumb_filename', 'revision_number', 'type_string', 'filesize'); parent::__construct(); $this->show_thumbnail = config_option('files_show_thumbnails', '1') == '1'; }