We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi
How to use multiple chaining when using filter function :
This is not work :
class RatihAnggaranORM extends ORM_Model { public static function fSumber_dana($orm, $sumber_dana_id = false) { return ($sumber_dana_id) ? $orm->where('sumber_dana_id', $sumber_dana_id) : $orm; } public static function fStatus($orm, $status = false) { return ($status) ? $orm->where('status', $status) : $orm; } /** END Filter **/ public static function bySumberDana($sumber_dana_id = false) { return self::filter('fSumber_dana', $sumber_dana_id); } public static function byStatus($status = false) { return self::filter('fStatus', $status); }
//this will return ERROR that second chaining is not available. $query = RatihAnggaranORM::byStatus()->bySumberDana(); var_dump($query);
Thank you for any insights
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
How to use multiple chaining when using filter function :
This is not work :
Thank you for any insights
The text was updated successfully, but these errors were encountered: