imagelist
extends filelist
in
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
= ''
$dbcon
DB-Verbindung
protected
database
$dbcon
$table
Tabellen-Name
protected
string
$table
$cache
System-Cache
protected
cache
$cache
$events
Event-Liste
protected
events
$events
$config
System-Config-Objekt
protected
config
$config
$language
System-Sprachen-Objekt
protected
language
$language
$notifications
Notifications
protected
notifications
$notifications
$cacheName
Cache name
protected
string
$cacheName
= false
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
$data
Data array
protected
array
$data
= []
Methods
__construct()
Konstruktor
public
__construct(
)
: mixed
Return values
mixedgetFolderList()
Return list of files in file system
public
getFolderList(
)
: array
Return values
arraygetDatabaseList()
Gibt Dateiindex in Datenbank zurück
public
getDatabaseList(
[ $limit :
int
= false ]
[, $offset :
int
= false ]
)
: array
Parameters
- $limit : int = false
- $offset : int = false
Return values
arraygetDatabaseListByCondition()
Fetch file index by condition
public
getDatabaseListByCondition(
$conditions :
search
)
: array
Parameters
- $conditions : search
Return values
arraygetDatabaseCountByCondition()
Fetch file index by condition
public
getDatabaseCountByCondition(
$conditions :
search
)
: array
Parameters
- $conditions : search
Return values
arrayupdateFileIndex()
Updates file index
public
updateFileIndex(
$userId :
int
)
: bool
Parameters
- $userId : int
Return values
booladdToIndex()
Add single file to index
private
final addToIndex(
$file :
string
)
: bool
Parameters
- $file : string
Tags
Return values
boolgetDatabaseFileCount()
Liefert Anzahl von Dateieinträgen in Datenbank zurück
public
getDatabaseFileCount(
)
: int
Tags
Return values
intcreateFilemanagerThumbs()
Creates file manager thumbnails
public
createFilemanagerThumbs(
[ $folderFiles :
null|array
= null ]
)
: bool
Parameters
- $folderFiles : null|array = null
Return values
boolgetUploadFolderSize()
Gibt aktuelle Größe des upload-Ordners in byte zurück
public
getUploadFolderSize(
)
: int
Return values
intassignSearchParams()
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
Return values
boolassignMultipleSearchParams()
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
boolgetFolderList()
Gibt Liste von Dateien mit den erlaubten Dateierweiterungen zurück
public
getFolderList(
)
: array
Return values
arraygetPathprefix()
Gibt Pfadprefix zurück
public
getPathprefix(
)
: string
Return values
stringsetPathprefix()
Setzt Pfadprefix
public
setPathprefix(
$pathprefix :
string
)
: mixed
Parameters
- $pathprefix : string
Return values
mixedremoveBasePath()
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