/dports/net-mgmt/netdot/Netdot-netdot-1.0.7/lib/Netdot/Model/ |
H A D | RRNAPTR.pm | 46 $class->throw_user("Invalid order value: ".$argv->{order_field}) 47 if ( $argv->{order_field} < 0 || $argv->{order_field} > $MAX_ORDER ); 102 if ( defined $argv->{order_field} ){ 103 $self->throw_user("Invalid order value: ".$argv->{order_field}) 104 if ( $argv->{order_field} < 0 || $argv->{order_field} > $MAX_ORDER ); 154 order => $self->order_field,
|
/dports/www/py-django-smart-selects/django-smart-selects-1.5.9/smart_selects/ |
H A D | form_fields.py | 56 def __init__(self, queryset, order_field, *args, **kwargs): argument 57 self.order_field = order_field 76 order_field = getattr(item, self.order_field) 77 group_index = order_field.pk 80 choices.append([force_text(order_field), []])
|
/dports/www/ilias/ILIAS-5.4.25/Services/UIComponent/Explorer2/classes/ |
H A D | class.ilTreeExplorerGUI.php | 22 protected $order_field = ""; variable in ilTreeExplorerGUI 61 $this->order_field = $a_val; 72 return $this->order_field; 154 if ($this->order_field != "") { 156 …$this->childs[$k] = ilUtil::sortArray($childs, $this->order_field, "asc", $this->order_field_numer… 161 if ($this->order_field == "") { 189 if ($this->order_field != "") { 190 … die("ilTreeExplorerGUI::getSuccessorNode not implemented for order field " . $this->order_field);
|
/dports/net-mgmt/pandorafms_console/pandorafms_console-6.0SP2/include/ |
H A D | functions_db.php | 663 function db_get_all_rows_in_table ($table, $order_field = "", $order = 'ASC') { argument 668 return mysql_db_get_all_rows_in_table($table, $order_field, $order); 671 return postgresql_db_get_all_rows_in_table($table, $order_field, $order); 674 return oracle_db_get_all_rows_in_table($table, $order_field, $order); 689 function db_get_all_rows_field_filter($table, $field, $condition, $order_field = "") { argument 694 return mysql_db_get_all_rows_field_filter($table, $field, $condition, $order_field); 697 return postgresql_db_get_all_rows_field_filter($table, $field, $condition, $order_field); 700 return oracle_db_get_all_rows_field_filter($table, $field, $condition, $order_field); 718 return mysql_db_get_all_fields_in_table($table, $field, $condition, $order_field); 721 return postgresql_db_get_all_fields_in_table($table, $field, $condition, $order_field); [all …]
|
/dports/net-mgmt/pandorafms_console/pandorafms_console-6.0SP2/include/db/ |
H A D | mysql.php | 185 function mysql_db_get_all_rows_in_table($table, $order_field = "", $order = 'ASC') { argument 190 if (!empty($order_field)) { 191 if (is_array($order_field)) { 192 foreach ($order_field as $i => $o) { 193 $order_field[$i] = $o . " " . $order; 196 ORDER BY " . implode(",", $order_field); 200 ORDER BY ".$order_field . " " . $order; 789 if ($order_field != "") 790 $sql .= sprintf (" ORDER BY %s", $order_field); 810 if ($order_field != "") [all …]
|
H A D | postgresql.php | 283 function postgresql_db_get_all_rows_in_table($table, $order_field = "", $order = 'ASC') { argument 284 if ($order_field != "") { 285 return db_get_all_rows_sql ('SELECT * FROM "'.$table.'" ORDER BY '.$order_field . ' ' . $order); 773 function postgresql_db_get_all_rows_field_filter ($table, $field, $condition, $order_field = "") { argument 784 if ($order_field != "") 785 $sql .= sprintf (" ORDER BY %s", $order_field); 798 function postgresql_db_get_all_fields_in_table ($table, $field = '', $condition = '', $order_field … argument 805 if ($order_field != "") 806 $sql .= sprintf (" ORDER BY %s", $order_field);
|
H A D | oracle.php | 360 function oracle_db_get_all_rows_in_table($table, $order_field = "", $order = 'ASC') { argument 361 if ($order_field != "") { 365 array ('table_name' => strtoupper($table), 'column_name' => strtoupper($order_field)), 'AND'); 369 ORDER BY dbms_lob.substr(' . $order_field . ',4000,1) ' . $order); 374 ORDER BY ' . $order_field . ' ' . $order); 1064 function oracle_db_get_all_rows_field_filter ($table, $field, $condition, $order_field = "") { argument 1081 if ($order_field != "") 1082 $sql .= sprintf (" ORDER BY %s", $order_field); 1095 function oracle_db_get_all_fields_in_table ($table, $field = '', $condition = '', $order_field = ''… argument 1102 if ($order_field != "") [all …]
|
/dports/www/ilias/ILIAS-5.4.25/Services/User/classes/ |
H A D | class.ilUserQuery.php | 21 private $order_field = self::DEFAULT_ORDER_FIELD; variable in ilUserQuery 105 $this->order_field = $a_order; 490 switch ($this->order_field) { 511 if (substr($this->order_field, 0, 4) == "udf_") { 513 …if (is_array($this->getUdfFilter()) && array_key_exists($this->order_field, $this->getUdfFilter())… 514 …$query .= " ORDER BY ud_" . ((int) substr($this->order_field, 4)) . ".value " . strtoupper($this->… 519 if (!in_array($this->order_field, $this->default_fields)) { 520 $this->order_field = "login"; 522 … $query .= " ORDER BY usr_data." . $this->order_field . " " . strtoupper($this->order_dir);
|
H A D | class.ilAccountCode.php | 58 …public static function getCodesData($order_field, $order_direction, $offset, $limit, $filter_code,… argument 75 if ($order_field) { 76 $sql .= " ORDER BY " . $order_field . " " . $order_direction;
|
/dports/www/ilias6/ILIAS-6.14/Services/User/classes/ |
H A D | class.ilUserQuery.php | 21 private $order_field = self::DEFAULT_ORDER_FIELD; variable in ilUserQuery 105 $this->order_field = $a_order; 490 switch ($this->order_field) { 511 if (substr($this->order_field, 0, 4) == "udf_") { 513 …if (is_array($this->getUdfFilter()) && array_key_exists($this->order_field, $this->getUdfFilter())… 514 …$query .= " ORDER BY ud_" . ((int) substr($this->order_field, 4)) . ".value " . strtoupper($this->… 519 if (!in_array($this->order_field, $this->default_fields)) { 520 $this->order_field = "login"; 522 … $query .= " ORDER BY usr_data." . $this->order_field . " " . strtoupper($this->order_dir);
|
H A D | class.ilAccountCode.php | 59 …public static function getCodesData($order_field, $order_direction, $offset, $limit, $filter_code,… argument 76 if ($order_field) { 77 $sql .= " ORDER BY " . $order_field . " " . $order_direction;
|
H A D | class.ilUserTableGUI.php | 319 $order_field = $this->getOrderField(); 320 if (substr($order_field, 0, 4) != "udf_" || isset($additional_fields[$order_field])) { 321 $query->setOrderField($order_field);
|
/dports/www/ilias6/ILIAS-6.14/Services/UIComponent/Explorer2/classes/ |
H A D | class.ilTreeExplorerGUI.php | 24 protected $order_field = ""; variable in ilTreeExplorerGUI 70 $this->order_field = $a_val; 81 return $this->order_field; 163 if ($this->order_field != "") { 165 …$this->childs[$k] = ilUtil::sortArray($childs, $this->order_field, "asc", $this->order_field_numer… 170 if ($this->order_field == "") { 198 if ($this->order_field != "") { 199 … die("ilTreeExplorerGUI::getSuccessorNode not implemented for order field " . $this->order_field);
|
/dports/www/ilias/ILIAS-5.4.25/Services/Registration/classes/ |
H A D | class.ilRegistrationCode.php | 70 …public static function getCodesData($order_field, $order_direction, $offset, $limit, $filter_code,… argument 87 if ($order_field) { 88 if ($order_field == 'generated') { 89 $order_field = 'generated_on'; 91 $sql .= " ORDER BY " . $order_field . " " . $order_direction;
|
/dports/www/ilias6/ILIAS-6.14/Services/Registration/classes/ |
H A D | class.ilRegistrationCode.php | 70 …public static function getCodesData($order_field, $order_direction, $offset, $limit, $filter_code,… argument 87 if ($order_field) { 88 if ($order_field == 'generated') { 89 $order_field = 'generated_on'; 91 $sql .= " ORDER BY " . $order_field . " " . $order_direction;
|
/dports/www/ilias6/ILIAS-6.14/Services/Tree/classes/ |
H A D | class.ilTreeTrashQueries.php | 132 * @param string $order_field 143 string $order_field, argument 160 if ($order_field) { 161 $order = 'ORDER BY ' . $order_field . ' ' . $order_direction;
|
/dports/www/py-flask-admin/Flask-Admin-1.5.8/flask_admin/contrib/appengine/ |
H A D | view.py | 84 order_field = getattr(self.model, sort_field) 86 order_field = -order_field 87 q = q.order(order_field)
|
/dports/databases/qof/qof-0.8.8/lib/libsql/ |
H A D | parser.y | 55 %type <of> order_field 107 order_fields_list: order_field {$$ = g_list_append (NULL, $1);} 108 | order_field L_COMMA order_fields_list {$$ = g_list_prepend ($3, $1);} 111 order_field: field_name {$$ = sql_order_field_build ($1, SQL_asc);}
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/lib/kunit/ |
H A D | kunit-test.c | 225 #define KUNIT_RESOURCE_TEST_MARK_ORDER(ctx, order_field, key) \ argument 226 kunit_resource_test_mark_order(ctx->order_field, \ 227 ARRAY_SIZE(ctx->order_field), \
|
/dports/multimedia/libv4l/linux-5.13-rc2/lib/kunit/ |
H A D | kunit-test.c | 225 #define KUNIT_RESOURCE_TEST_MARK_ORDER(ctx, order_field, key) \ argument 226 kunit_resource_test_mark_order(ctx->order_field, \ 227 ARRAY_SIZE(ctx->order_field), \
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/lib/kunit/ |
H A D | kunit-test.c | 225 #define KUNIT_RESOURCE_TEST_MARK_ORDER(ctx, order_field, key) \ argument 226 kunit_resource_test_mark_order(ctx->order_field, \ 227 ARRAY_SIZE(ctx->order_field), \
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/ |
H A D | models.py | 2053 order_field = order_split[0] 2054 if order_field == 'id' or order_field in groupby_fields: 2061 order_split[0] = '"%s"' % groupby_fields.get(order_field, order_field) 2066 elif order_field not in self._fields: 4315 field = self._fields[order_field] 4338 dest_alias = query.left_join(alias, order_field, dest_model._table, 'id', order_field) 4351 order_field = order_split[0].strip() 4357 field = self._fields.get(order_field) 4361 if order_field == 'id': 4452 order_field = order_part.split()[0] [all …]
|
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/contrib/modeladmin/ |
H A D | views.py | 483 order_field = self.get_ordering_field(field_name) 484 if not order_field: 487 if order_field.startswith('-') and pfx == "-": 488 ordering.append(order_field[1:]) 490 ordering.append(pfx + order_field)
|
/dports/www/joomla3/joomla3-3.9.24/libraries/fof/table/ |
H A D | table.php | 1464 $order_field = $this->getColumnAlias('ordering'); 1466 if (!in_array($order_field, $this->getKnownFields())) 1475 $query->select($this->_tbl_key . ', ' . $this->_db->qn($order_field)); 1477 $query->where($this->_db->qn($order_field) . ' >= ' . $this->_db->q(0)); 1478 $query->order($this->_db->qn($order_field)); 1496 if ($row->$order_field >= 0) 1500 if ($row->$order_field != $i + 1) 1505 $query->set($this->_db->qn($order_field) . ' = ' . $this->_db->q($i + 1));
|
/dports/www/drupal8/drupal-8.9.20/core/modules/migrate/src/Plugin/migrate/id_map/ |
H A D | Sql.php | 1021 foreach (array_values($this->destinationIdFields()) as $order_field) { 1022 $query->orderBy($order_field, 'DESC');
|