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: Jul 17 2021
Copyright © 2021 Thunderstone Software LLC. All rights reserved.