Download the PHP package esit/datacollections without Composer
On this page you can find all versions of the php package esit/datacollections. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download esit/datacollections
More information about esit/datacollections
Files in esit/datacollections
Package datacollections
Short Description Es handelt sich um eine Erweiterung für das Open Source CMS Contao
License proprietary
Informations about the package datacollections
Datacollections
Beschreibung
Bei dieser Software handelt es sich um eine Erweiterung für das Open Source CMS Contao. Die Software stellt zwei Collections zur Verfügung und ist als Ersatz für den Einsatz für Arrays gedacht.
Autor
e@sy Solutions IT: Patrick Froch [email protected]
Voraussetzungen
- php: ^8.2
- ext-ds: *
- contao/core-bundle:^5.3
- esit/valueobjects: ^1.0
- esit/databaselayer: ^1.0
Installation
Die Erweiterung kann einfach über den Manager installiert werden.
Verwendung
ArrayCollection
Die ArrayCollection
ist für den direkten Ersatz von Arrays gedacht. Die Collention kann
beliebige Werte aufnehmen und bietet viele Methonden für den Umgang mit Arrays.
DatabaseRowCollction
Die DatabaseRowCollection
ist eine Spezialform der ArrayCollection. Sie beitet ebenfalls
viele Methoden für den Umgang mit Arrays. Ihr Zweck ist es eine Tabellenzeile aufzunehmen.
Die Tabellenzeile kann mit save()
gepseichet werden. Des Weiteren beitet Sie LazyLoading
von Abhängigen Daten.
Erstellung einer Collection
Für die Erstellung der Collectsions gibt es eine Factory. Sie kann eine ArrayCollection
, eine
DatabaseRowCollection
und eine ArrayCollection
mit mehreren DatabaseRowCollection
s erstellen.
// todo add php code
All versions of datacollections with dependencies
contao/core-bundle Version ^5.3
esit/valueobjects Version ^1.0
esit/databaselayer Version ^1.0