2017 © Pedro Peláez
 

library redbean-prefix

For when you absolutely, positively need prefixes in RedBeanPHP

image

daviddeutsch/redbean-prefix

For when you absolutely, positively need prefixes in RedBeanPHP

  • Saturday, April 5, 2014
  • by daviddeutsch
  • Repository
  • 1 Watchers
  • 3 Stars
  • 13 Installations
  • PHP
  • 1 Dependents
  • 2 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

RedBean Prefix

In a perfect world, we wouldn't have to do this. Nevertheless, we cannot help it, sometimes., (*1)

This is a RedBean plugin that automatically injects prefixes into your table names., (*2)

Usage

// Include or autoload the files in this library

R::ext( 'prefix', array('RedBean_Prefix', 'prefix') );

R::prefix('my_prefix_');

// If you want to inject it into another instance of RB

$r2db2 = R::instance();

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

The Versions

05/04 2014

dev-master

9999999-dev

For when you absolutely, positively need prefixes in RedBeanPHP

  Sources   Download

BSD

The Requires