Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

reorder_default_dash()

Parameters

This function accepts no parameters.

Location

include/dash_functions.php lines 217 to 226

Definition

 
function reorder_default_dash()
    {
    
$tiles sql_query("SELECT ref FROM dash_tile WHERE all_users=1 ORDER BY default_order_by");
    
$order_by=10 count($tiles);
    for(
$i=count($tiles)-1;$i>=0;$i--)
        {
        
$result update_default_dash_tile_order($tiles[$i]["ref"],$order_by);
        
$order_by-=10;
        }
    }

This article was last updated 24th November 2020 20:35 Europe/London time based on the source file dated 3rd November 2020 16:55 Europe/London time.