class MyQuery extends Orm\Query {}
PKGPATH/my-orm
class Model_Whatever extends MyOrm\Model { }
class Arr extends \Fuel\Core\Arr {}
Autoloader::add_classes(array( 'Arr' => APPPATH . 'classes/extend/arr.php' ));Basically I want the equivalent of this for the ORM query class, but since it resides inside a package I am not sure on how to proceed. I suppose copying the ORM class altogether and making my modifications that way would work, but it would be a pain to update when there's a new version of the ORM class.
Frank Bardon wrote on Thursday 14th of July 2011:Ah, I see now. I have no idea how that would be done to be honest. Perhaps instead of directly editing the query.php file... make an extended class inside of the package and drop it into the bootstrap file... then have the query.php file inherit from that? Could work possibly.
It looks like you're new here. If you want to get involved, click one of these buttons!