RedBeanPhp fuse with CI 2.1.0 HMVC
问题 the controller class User extends MX_Controller{ function __construct() { parent::__construct(); } function index(){ $r=R::dispense('group'); $r->GroupName="hh"; $i=R::store($r); echo $i; $r->hello(); } } the model class Model_Group extends RedBean_SimpleModel{ function __construct() { parent::__construct; } function open(){ echo "model"; } function update(){ echo "update"; } function hello() { echo "hello"; } } the output it just returns the id neither the hook functions (open -update - etc.