Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

append_user_position()

Parameters

ColumnTypeDefaultDescription
$user

Location

include/dash_functions.php lines 1113 to 1117

Definition

 
function append_user_position($user)
    {
    
$last_tile=ps_query("SELECT order_by FROM user_dash_tile WHERE user= ? ORDER BY order_by DESC LIMIT 1", ['i'$user]);
    return isset(
$last_tile[0]["order_by"])?$last_tile[0]["order_by"]+10:10;
    }

This article was last updated 14th December 2024 20:05 Europe/London time based on the source file dated 12th December 2024 19:40 Europe/London time.