PHP lithium\data Пространство имен

Пространства имен

lithium\data\collection
lithium\data\entity
lithium\data\model
lithium\data\source

Классы

Имя Описание
Collection The `Collection` class extends the generic `lithium\util\Collection` class to provide context-specific features for working with sets of data persisted by a backend data store. This is a general abstraction that operates on abitrary sets of data from either relational or non-relational data stores.
Connections The `Connections` class manages a list of named configurations that connect to external resources. Connections are usually comprised of a type (i.e. `'database'` or `'http'`), a reference to an adapter class (i.e. `'MySql'` or `'CouchDb'`), and authentication credentials.
DocumentSchema
Entity `Entity` is a smart data object which represents data such as a row or document in a database. Entities have fields (often known as columns in databases), and track changes to its fields, as well as associated validation errors, etc.
Model The `Model` class is the starting point for the domain logic of your application.
Schema This class encapsulates a schema definition, usually for a model class, and is comprised of named fields and types.
Source This is the base class for Lithium's data abstraction layer.