Namespace ICanBoogie\ActiveRecord
Namespaces summary
ICanBoogie\ActiveRecord\ActiveRecordCache |
ICanBoogie\ActiveRecord\Driver |
ICanBoogie\ActiveRecord\Property |
ICanBoogie\ActiveRecord\Validate |
Classes summary
BelongsToRelation | Representation of the one-to-one relation. |
Connection | A connection to a database. |
ConnectionCollection | Connection collection. |
ConnectionOptions | Connection options. |
HasManyRelation | Representation of the one-to-many relation. |
Model | Base class for activerecord models. |
ModelCollection | Model collection. |
ModelProvider | Provides a ICanBoogie\ActiveRecord\Model instance. |
Query | The class offers many features to compose model queries. Most query related
methods of the |
Relation | Representation of a relation. |
RelationCollection | Relation collection of a model. |
RelationNotDefined | Exception thrown in attempt to obtain a relation that is not defined. |
Schema | Representation of a database table schema. |
SchemaColumn | Representation of a schema column. |
Statement | A database statement. |
Table | A representation of a database table. |
Interfaces summary
ActiveRecordCache | Interface for ActiveRecord cache. |
Driver | Connection driver interface. |
Exception | The interface is implemented by ActiveRecord exceptions so that they can be easily recognized. |
Exceptions summary
ActiveRecordClassNotValid | Exception thrown when the ActiveRecord class is not valid. |
ConnectionAlreadyEstablished | Exception thrown in attempt to set the definition of an already established connection. |
ConnectionNotDefined | Exception thrown in attempt to obtain a connection that is not defined. |
ConnectionNotEstablished | Exception thrown when a connection cannot be established. |
DriverNotDefined | Exception thrown when there is no driver defined for a given driver name. |
ModelAlreadyInstantiated | Exception thrown in attempt to set/unset the definition of an already instantiated model. |
ModelNotDefined | Exception thrown in attempt to obtain a model that is not defined. |
RecordNotFound | Exception thrown when one or several records cannot be found. |
RecordNotValid | Exception thrown when the validation of a record failed. |
ScopeNotDefined | Exception thrown in attempt to obtain a scope that is not defined. |
StatementInvocationFailed | Exception thrown when the execution of a statement fails. |
StatementNotValid | Exception thrown in attempt to execute a statement that is not valid. |
UnableToSetFetchMode | Exception thrown when the fetch mode of a statement fails to be set. |