Collections functions
General functions
Render functions
Theme permission functions
Resource functions

generate_share_key()

Description

Generates an external share key based on provided string

Parameters

ColumnTypeDefaultDescription
$string string

Return

string Generated key

Location

include/collections_functions.php lines 6441 to 6444

Definition

 
function generate_share_key($string)
    {
    return 
substr(md5($string "," time() . rand()), 010);
    }

This article was last updated 4th October 2022 12:05 Europe/London time based on the source file dated 4th October 2022 09:50 Europe/London time.