Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

update_timestamp()

Parameters

ColumnTypeDefaultDescription
$resource

Location

include/resource_functions.php lines 7151 to 7158

Definition

 
function update_timestamp($resource)
    {
    if(!
is_numeric($resource))
        {
        return 
false;
        }
    
ps_query("UPDATE resource SET modified=NOW() WHERE ref=?",array("i",$resource));
    }

This article was last updated 18th April 2024 02:05 Europe/London time based on the source file dated 17th April 2024 16:25 Europe/London time.