# Functions

## load_attrs (track, id)

Loads attributes from the database.

Track can have following values:
track

  $fu

    Load user attributes into from track. In this case the second parameter is UID used to search attributes.

  $tu

    Load user attributes into to track. In this case the second parameter is UID used to search attributes.

  $fr

    Load uri attributes into from track. In this case the second parameter is URI used to search attributes.

  $tr

    Load uri attributes into to track. In this case the second parameter is URI used to search attributes.

id

  Identifier used for searching attributes. When searching for user attributes it is UID, when searching uri attributes it is URI.

## load_extra_attrs (group_id, id)

Loads 'extra attributes' stored by previous call to save_extra_attrs.

group_id

  Identifies attribute group, see .

id

  Identifies attributes which should be loaded.

## save_extra_attrs (group_id, id)

Saves 'extra attributes' flagged by group flag under given id.

group_id

  Identifies attribute group, see .

id

  Identifier stored with flagged attributes.

## remove_extra_attrs (group_id, id)

Removes all extra attributes with given id.

group_id

  Identifies attribute group, see .

id

  Identifies attributes which should be removed.

## lock_extra_attrs (group_id, id)

Locks extra attributes. Currently locks whole attribute group (not only id).

group_id

  Identifies attribute group, see .

id

  Identifies attributes which should be locked.

## unlock_extra_attrs (group_id, id)

Unlocks extra attributes. Currently unlocks whole attribute group (not only id).

group_id

  Identifies attribute group, see .

id

  Identifies attributes which should be unlocked.