Abstract class that all relationships must extend from.
Generic base exception for all ActiveRecord specific errors.
Array serializer.
Belongs to relationship.
Cache::get('the-cache-key', function() { # this gets executed when cache is stale return "your cacheable datas"; });
Thrown for cache problems.
Callbacks allow the programmer to hook into the life cycle of a {@link Model}.
Class for a table column.
Manages configuration options for ActiveRecord.
Thrown for configuration problems.
The base class for database connection adapters.
Singleton to manage any and all database connections.
CSV serializer.
Thrown when there was an error performing a database operation.
An extension of PHP's DateTime class to provide dirty flagging and easier formatting options.
Interface for the ActiveRecord\DateTime class so that ActiveRecord\Model->assign_attribute() will know to call attribute_of() on passed values. This is so the DateTime object can flag the model as dirty via $model->flag_dirty() when one of its setters is called.
Class that holds {@link Validations} errors.
Templating like class for building SQL statements.
Thrown by {@link Expressions}.
One-to-many relationship.
Thrown for has many thru exceptions.
One-to-one relationship.
Interface for a table relationship.
JSON serializer.
The base class for your models.
Thrown by {@link Model}.
Adapter for MySQL.
Adapter for OCI (not completed yet).
Adapter for Postgres (not completed yet)
Thrown when attempting to perform a write operation on a {@link Model} that is in read-only mode.
Thrown when a record cannot be found.
Simple class that caches reflections of classes.
Thrown for relationship exceptions.
Helper class for building sql statements progmatically.
Base class for Model serializers.
This implementation of the singleton pattern does not conform to the strong definition given by the "Gang of Four." The __construct() method has not be privatized so that a singleton pattern is capable of being achieved; however, multiple instantiations are also possible. This allows the user more freedom with this pattern.
Adapter for SQLite.
Manages reading and writing to a database table.
Thrown when attempting to access an invalid property on a {@link Model}.
Some internal utility functions.
Manages validations for a {@link Model}.
Thrown for validations exceptions.
XML serializer.