Documentation

FactFile
in package

Class FactFile

Manages the creation, retrieval, and deletion of fact-related files for a given company.

Table of Contents

Constants

FACT_DIRNAME  = 'facts'

Properties

$config  : Config
$fileUploader  : FileUploader
$mySql  : MySql
$request  : Request

Methods

__construct()  : mixed
delete()  : void
getAll()  : array<string|int, mixed>
getCompanyFactStorageDirname()  : string
save()  : type

Constants

FACT_DIRNAME

public mixed FACT_DIRNAME = 'facts'

Properties

Methods

delete()

public delete(int $factFileId) : void
Parameters
$factFileId : int

getAll()

public getAll(int $factEsgId) : array<string|int, mixed>
Parameters
$factEsgId : int
Return values
array<string|int, mixed>

getCompanyFactStorageDirname()

public getCompanyFactStorageDirname(string $companyCode) : string
Parameters
$companyCode : string
Tags
throws
Exception
Return values
string

save()

public save(int $factEsgId, string $companyCode, string $filesKeyname, string $modifiedBy) : type
Parameters
$factEsgId : int
$companyCode : string
$filesKeyname : string
$modifiedBy : string
Tags
throws
Throwable
Return values
type

        
On this page

Search results