refInfoGetAttribute

SYNOPSIS

varchar refInfoGetAttribute(refInfo ref, varchar attrName)

Parameters:

  • ref - A refInfo object

  • attrName - The varchar name of the attribute to get

Returns:

  • The varchar value of the named attribute, HTML decoded, in UTF-8.


DESCRIPTION
The refInfoGetAttribute function returns the varchar value of the attribute named attrName, in UTF-8, after HTML decoding. If the attribute does not exist, an empty string is returned.


EXAMPLE

<$ret = (refInfoGetAttribute($ref, "id" ))>
  Link id is: $ret


SEE ALSO
refInfoGetAttributes


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.