method getOrder documentation in bbn\Db

Get a string starting with ORDER BY with corresponding parameters to $order.

Example

X::dump($db->getOrder(['name' => 'DESC' ],'table_users')); // (string) ORDER BY `name` DESC function(array $cfg) { $this->ensureLanguageMethodExists(__FUNCTION__); return $this->language->getOrder($cfg); }

Get a string starting with ORDER BY with corresponding parameters to $order. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.