daviddeutsch/redbean-joomla

A RedBean Plugin that lets you connect to a joomla database

dev-master 2014-01-01 00:33 UTC

This package is not auto-updated.

Last update: 2024-04-27 13:28:06 UTC


README

Takes care of all the instantiation and prefixes you need to have for making RedBean work in Joomla.

Usage

// Include or autoload the files in this library

R::ext( 'joomla', array('RedBean_Joomla', 'joomla') );

// Specify 'prefix' for your component prefix
R::joomla('prefix');

// If you are juggling components, you may want to go the instance approach:

$r2db2 = R::instance();

$r2db2::joomla('prefix', $r2db2);