MySql

Filepath: phork/php/database/mysql/MySql.class.php

The MySql class is an adaptor for the MySql database functions. All the database adaptors must implement the Sql interface found at phork/php/database/interfaces/Sql.interface.php.

The MySql class isn't just a straight forward adaptor, it also has the ability to read from and write to different databases, allowing for master-slave replication. In addition to the standard read and write databases it's possible to add one or more other database connections all handled from within the same database object.