Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Kajetan Mruk Posted December 22, 2017 Posted December 22, 2017 Hey, right now I am using IPS v4.2.6, it would be greate if there is function for \IPS\Helpers\Table\DB like there is in \IPS\Patterns\ActiveRecord called db(). It would so much easier to work on external databases. What I did to make that work: I declared static function called db() like in ActiveRecord and replaced every occurence of \IPS\Db::i() to self::db() in function getRows() in my extended class. It is working fine, but it will be better to overwrite one function of class instead of two of them. Cheers, Kajetan
bfarber Posted December 22, 2017 Posted December 22, 2017 I've raised your suggestion internally for consideration.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.