Documentation

imagelist extends filelist

Image list object

Table of Contents

$indexUserId User id to use for file indexing int
$finfo finfo instance finfo
$exts erlaute Dateierweiterungen array
$basepath Dateilisten-Basispfad string
$pathprefix Dateilisten-Basispfad string
$dbcon DB-Verbindung database
$table Tabellen-Name string
$cache System-Cache cache
$events Event-Liste events
$config System-Config-Objekt config
$language System-Sprachen-Objekt language
$notifications Notifications notifications
$cacheName Cache name string
$cacheModule Cache Modul string
$data Data array array
__construct() Konstruktor mixed
getFolderList() Return list of files in file system array
getDatabaseList() Gibt Dateiindex in Datenbank zurück array
getDatabaseListByCondition() Fetch file index by condition array
getDatabaseCountByCondition() Fetch file index by condition array
updateFileIndex() Updates file index bool
addToIndex() Add single file to index bool
getDatabaseFileCount() Liefert Anzahl von Dateieinträgen in Datenbank zurück int
createFilemanagerThumbs() Creates file manager thumbnails bool
getUploadFolderSize() Gibt aktuelle Größe des upload-Ordners in byte zurück int
assignSearchParams() Assigns search params from search object to where condition bool
assignMultipleSearchParams() Assigns search params object to value arrays bool
getFolderList() Gibt Liste von Dateien mit den erlaubten Dateierweiterungen zurück array
getPathprefix() Gibt Pfadprefix zurück string
setPathprefix() Setzt Pfadprefix mixed
removeBasePath() Removes base path from give path bool
__construct() Konstruktor void
__call() Magische Methode für nicht vorhandene Methoden bool
__callStatic() Magische Methode für nicht vorhandene, statische Methoden bool
__destruct() Konstruktor void

Properties

$indexUserId

User id to use for file indexing

private int $indexUserId = ""

$finfo

finfo instance

private finfo $finfo = null

$exts

erlaute Dateierweiterungen

protected array $exts = []

$basepath

Dateilisten-Basispfad

protected string $basepath = ''

$pathprefix

Dateilisten-Basispfad

protected string $pathprefix = ''

$table

Tabellen-Name

protected string $table

$cacheName

Cache name

protected string $cacheName = false

$cacheModule

Cache Modul

protected string $cacheModule = ''

Methods

__construct()

Konstruktor

public __construct( ) : mixed
Return values
mixed

getFolderList()

Return list of files in file system

public getFolderList( ) : array
Return values
array

getDatabaseList()

Gibt Dateiindex in Datenbank zurück

public getDatabaseList( [ $limit : int = false ] [, $offset : int = false ] ) : array
Parameters
$limit : int = false
$offset : int = false
Return values
array

getDatabaseListByCondition()

Fetch file index by condition

public getDatabaseListByCondition( $conditions : search ) : array
Parameters
$conditions : search
Return values
array

getDatabaseCountByCondition()

Fetch file index by condition

public getDatabaseCountByCondition( $conditions : search ) : array
Parameters
$conditions : search
Return values
array

updateFileIndex()

Updates file index

public updateFileIndex( $userId : int ) : bool
Parameters
$userId : int
Return values
bool

addToIndex()

Add single file to index

private final addToIndex( $file : string ) : bool
Parameters
$file : string
Tags
since
Return values
bool

getDatabaseFileCount()

Liefert Anzahl von Dateieinträgen in Datenbank zurück

public getDatabaseFileCount( ) : int
Tags
since
Return values
int

createFilemanagerThumbs()

Creates file manager thumbnails

public createFilemanagerThumbs( [ $folderFiles : null|array = null ] ) : bool
Parameters
$folderFiles : null|array = null
Return values
bool

getUploadFolderSize()

Gibt aktuelle Größe des upload-Ordners in byte zurück

public getUploadFolderSize( ) : int
Return values
int

assignSearchParams()

Assigns search params from search object to where condition

private assignSearchParams( $conditions : search , &$where : array , &$valueParams : array , $combination : string ) : bool
Parameters
$conditions : search
$where : array
$valueParams : array
$combination : string
Tags
since
Return values
bool

assignMultipleSearchParams()

Assigns search params object to value arrays

private assignMultipleSearchParams( $conditions : search , &$where : array , &$valueParams : array , $combination : string ) : bool
Parameters
$conditions : search
$where : array
$valueParams : array
$combination : string
Return values
bool

getFolderList()

Gibt Liste von Dateien mit den erlaubten Dateierweiterungen zurück

public getFolderList( ) : array
Return values
array

getPathprefix()

Gibt Pfadprefix zurück

public getPathprefix( ) : string
Return values
string

setPathprefix()

Setzt Pfadprefix

public setPathprefix( $pathprefix : string ) : mixed
Parameters
$pathprefix : string
Return values
mixed

removeBasePath()

Removes base path from give path

public removeBasePath( &$path : string ) : bool
Parameters
$path : string
Return values
bool

__construct()

Konstruktor

public __construct( ) : void

__call()

Magische Methode für nicht vorhandene Methoden

public __call( $name : string , $arguments : mixed ) : bool
Parameters
$name : string
$arguments : mixed
Return values
bool

__callStatic()

Magische Methode für nicht vorhandene, statische Methoden

public static __callStatic( $name : string , $arguments : mixed ) : bool
Parameters
$name : string
$arguments : mixed
Return values
bool

__destruct()

Konstruktor

public __destruct( ) : void

Search results