{"id":53,"date":"2020-03-08T18:32:32","date_gmt":"2020-03-08T18:32:32","guid":{"rendered":"https:\/\/demo.daext.com\/soccer-engine\/?page_id=53"},"modified":"2023-10-11T14:05:45","modified_gmt":"2023-10-11T14:05:45","slug":"transfers","status":"publish","type":"page","link":"https:\/\/demo.daext.com\/soccer-engine\/transfers\/","title":{"rendered":"Transfers"},"content":{"rendered":"\n<p>The <strong>Transfers<\/strong> block allows you to display in the front-end of the website a table with information about the transfers.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example 1<\/h4>\n\n\n\n<p>A generic list of transfers.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"transfers\">\n\n            \n            <div id=\"dase-paginated-table-1\"><\/div>\n            <script>\n\n              \n              document.addEventListener(\"DOMContentLoaded\", function(event) {\n                new DasePaginatedTable({\n                  ajaxUrl: DASE_PHPDATA.ajaxUrl,\n                  nonce: DASE_PHPDATA.nonce,\n                  currentPage: 1,\n                  action: 'dase_get_paginated_table_data',\n                  tableId: 'transfers',\n                  filter: {'player_id': '0','transfer_type_id': '0','team_id_left': '0','team_id_joined': '0','start_date': '1900-01-01','end_date': '2100-01-01','fee_lower_limit': '0','fee_higher_limit': '1000000000',},\n                  columns: ['player','citizenship','age','team_left','team_joined','date','market_value','fee'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: [],\n                  pagination: 10,\n                  tableIdAttribute: 'dase-paginated-table-1',\n                });\n              });\n\n            <\/script>\n\n            \n\t\t<\/div>\n\n\t\t\n\n\n<h4 class=\"wp-block-heading\">Example 2<\/h4>\n\n\n\n<p>Transfers of players that left Roma.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"transfers\">\n\n            \n            <div id=\"dase-paginated-table-2\"><\/div>\n            <script>\n\n              \n              document.addEventListener(\"DOMContentLoaded\", function(event) {\n                new DasePaginatedTable({\n                  ajaxUrl: DASE_PHPDATA.ajaxUrl,\n                  nonce: DASE_PHPDATA.nonce,\n                  currentPage: 1,\n                  action: 'dase_get_paginated_table_data',\n                  tableId: 'transfers',\n                  filter: {'player_id': '0','transfer_type_id': '0','team_id_left': '26','team_id_joined': '0','start_date': '1900-01-01','end_date': '2100-01-01','fee_lower_limit': '0','fee_higher_limit': '1000000000',},\n                  columns: ['player','citizenship','age','team_left','team_joined','date','market_value','fee'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: [],\n                  pagination: 10,\n                  tableIdAttribute: 'dase-paginated-table-2',\n                });\n              });\n\n            <\/script>\n\n            \n\t\t<\/div>\n\n\t\t\n\n\n<h4 class=\"wp-block-heading\">Example 3<\/h4>\n\n\n\n<p>Transfers of players that joined Bologna.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"transfers\">\n\n            \n            <div id=\"dase-paginated-table-3\"><\/div>\n            <script>\n\n              \n              document.addEventListener(\"DOMContentLoaded\", function(event) {\n                new DasePaginatedTable({\n                  ajaxUrl: DASE_PHPDATA.ajaxUrl,\n                  nonce: DASE_PHPDATA.nonce,\n                  currentPage: 1,\n                  action: 'dase_get_paginated_table_data',\n                  tableId: 'transfers',\n                  filter: {'player_id': '0','transfer_type_id': '0','team_id_left': '0','team_id_joined': '35','start_date': '1900-01-01','end_date': '2100-01-01','fee_lower_limit': '0','fee_higher_limit': '1000000000',},\n                  columns: ['player','citizenship','age','team_left','team_joined','date','market_value','fee'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: [],\n                  pagination: 10,\n                  tableIdAttribute: 'dase-paginated-table-3',\n                });\n              });\n\n            <\/script>\n\n            \n\t\t<\/div>\n\n\t\t\n\n\n<h4 class=\"wp-block-heading\">Example 4<\/h4>\n\n\n\n<p>Transfers of players with fee above $100000.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"transfers\">\n\n            \n            <div id=\"dase-paginated-table-4\"><\/div>\n            <script>\n\n              \n              document.addEventListener(\"DOMContentLoaded\", function(event) {\n                new DasePaginatedTable({\n                  ajaxUrl: DASE_PHPDATA.ajaxUrl,\n                  nonce: DASE_PHPDATA.nonce,\n                  currentPage: 1,\n                  action: 'dase_get_paginated_table_data',\n                  tableId: 'transfers',\n                  filter: {'player_id': '0','transfer_type_id': '0','team_id_left': '0','team_id_joined': '0','start_date': '1900-01-01','end_date': '2100-01-01','fee_lower_limit': '100000','fee_higher_limit': '1000000000',},\n                  columns: ['player','citizenship','age','team_left','team_joined','date','market_value','fee'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: [],\n                  pagination: 10,\n                  tableIdAttribute: 'dase-paginated-table-4',\n                });\n              });\n\n            <\/script>\n\n            \n\t\t<\/div>\n\n\t\t\n\n\n<h4 class=\"wp-block-heading\">Example 5<\/h4>\n\n\n\n<p>Players transfered in a specific period. In this example from December 1, 2018 to February 28, 2019.<\/p>\n\n\n\n\t\t<div class=\"dase-paginated-table-container\" data-type=\"transfers\">\n\n            \n            <div id=\"dase-paginated-table-5\"><\/div>\n            <script>\n\n              \n              document.addEventListener(\"DOMContentLoaded\", function(event) {\n                new DasePaginatedTable({\n                  ajaxUrl: DASE_PHPDATA.ajaxUrl,\n                  nonce: DASE_PHPDATA.nonce,\n                  currentPage: 1,\n                  action: 'dase_get_paginated_table_data',\n                  tableId: 'transfers',\n                  filter: {'player_id': '0','transfer_type_id': '0','team_id_left': '0','team_id_joined': '0','start_date': '2018-01-01T00:00:00','end_date': '2018-12-31T00:00:00','fee_lower_limit': '0','fee_higher_limit': '1000000000',},\n                  columns: ['player','citizenship','age','team_left','team_joined','date','market_value','fee'],\n                  hiddenColumnsBreakpoint1: [],\n                  hiddenColumnsBreakpoint2: [],\n                  pagination: 10,\n                  tableIdAttribute: 'dase-paginated-table-5',\n                });\n              });\n\n            <\/script>\n\n            \n\t\t<\/div>\n\n\t\t\n\n<div  class='av-buildercomment av-12tn9-14387b26dfa3898d4ffa31a62981c8fe'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Transfers block allows you to display in the front-end of the website a table with information about the transfers. Example 1 A generic list of transfers. Example 2 Transfers of players that left Roma. Example 3 Transfers of players that joined Bologna. Example 4 Transfers of players with fee above $100000. Example 5 Players [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-53","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":1,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/53\/revisions"}],"predecessor-version":[{"id":706,"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/pages\/53\/revisions\/706"}],"wp:attachment":[{"href":"https:\/\/demo.daext.com\/soccer-engine\/wp-json\/wp\/v2\/media?parent=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}