DavidDeutsch / redbean-joomla
一个RedBean插件,允许您连接到Joomla数据库
dev-master
2014-01-01 00:33 UTC
Requires
- daviddeutsch/redbean-prefix: dev-master
- gabordemooij/redbean: >=3.2,<4.0
Suggests
- daviddeutsch/redbean-instance: Let's you have multiple RedBean instances running alongside eachother
This package is not auto-updated.
Last update: 2024-09-28 15:18:34 UTC
README
负责所有必要的实例化和前缀,以便在Joomla中使用RedBean。
用法
// 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);