ttgive / qeephp

Automatically exported from code.google.com/p/qeephp
0 stars 0 forks source link

为 ActiveRecord 继承类增加 after_meta_init 事件处理函数 #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
当 QDB_ActiveRecord_Meta 调用 ActiveRecord 继承类的 __define() 
静态方法后,
会完成元信息对象的初始化。

初始化完成后应该调用 ActiveRecord 继承类的 __after_meta_init() 
方法,并将
QDB_ActiveRecord_Meta 对象实例作为参数传入。

利用 __after_meta_init() 方法,ActiveRecord 
继承类可以动态的修改自己元信息
对象。

Original issue reported on code.google.com by dualf...@gmail.com on 23 May 2008 at 8:15

GoogleCodeExporter commented 9 years ago
please send me 2000 qp

Original comment by alsiam2...@gmail.com on 5 Sep 2011 at 12:04