
SkinnyMVC is a light-weight, easy to learn, "skinny" development framework for PHP that enables the developer to implement the MVC architectural pattern, while maintaining maximum flexibility and performance of the application.
class SkinnyDbController extends PDO
The database controller.
All methods except for the constructor are inherited from the PDO class
public static function getConnection($dbKey = '', $mode='r+')
return: SkinnyDbController
Gets the existing database connection or creates a new one.
public static function getReadConnection($dbKey = '')
return: SkinnyDbController
Gets the existing database connection or creates a new one for reading.
public static function getWriteConnection($dbKey = '')
return: SkinnyDbController
Gets the existing database connection or creates a new one for writing.