Collections functions
General functions
Render functions
Theme permission functions
Resource functions

getAnnotation()

Parameters

ColumnTypeDefaultDescription
$ref

Location

include/annotation_functions.php lines 9 to 24

Definition

 
function getAnnotation($ref)
    {
    if(
>= $ref)
        {
        return array();
        }

    
$return ps_query("SELECT * FROM annotation WHERE ref = ?", array("i",$ref));

    if(
count($return))
        {
        
$return $return[0];
        }

    return 
$return;
    }

This article was last updated 26th June 2022 05:05 Europe/London time based on the source file dated 1st February 2022 16:00 Europe/London time.