Files
luos/workflow/engine/src/ProcessMaker/BusinessModel/Files/Files.php
Marco Antonio Nina Mena 087f5e1ce6 HOR-4146: Monolog improvement
HOR-4303
HOR-4302
HOR-4471
HOR-4428
HOR-4146: We removed loggin_level
2018-05-22 10:55:50 -04:00

59 lines
1.0 KiB
PHP

<?php
namespace ProcessMaker\BusinessModel\Files;
abstract class Files
{
/**
* @var string Path of the directory where the files are stored.
*/
protected $pathFiles;
/**
* Files constructor.
*
* @param $path
*/
public function __construct($path)
{
$this->pathFiles = $path;
}
/**
* Get path files
*
* @return string
*/
public function getPathFiles()
{
return $this->pathFiles;
}
/**
* This function get the list of the log files
*
* @param string $filter
* @param string $sort
* @param int $start
* @param int $limit
* @param string $dir related to order the column
*
* @return array
*/
abstract public function getAllFiles(
$filter = '',
$sort = '',
$start = 0,
$limit = 20,
$dir = 'ASC'
);
/**
* Download file
*
* @param array files
*/
abstract public function download($files);
}