Lines Matching refs:val
45 * @param val string the thing to cast
47 public function castToNumber($val) {
48 return "CAST($val AS NUMERIC)";
55 * @param val string the thing make case insensitive
57 public function ci($val='?') {
58 return "lower($val)";
75 * @param val string the thing to sort on
78 public function orderBy($val) {
80 $this->castToNumber($val),
81 $this->ci($val)