METHODS

Initiation

$class->new( [NAME], OPTIONS )
Option Defined in Default

description

User::Identity::Item

undef

name

User::Identity::Item

<required>

user

undef

description => STRING
name => STRING
user => OBJECT
Refers to the user (a User::Identity object) who has this item in one of his/het collections. The item may be unrelated to any user.
» Error: Each collectable item requires a name

You have to specify a name for each collected item. These names need to be unique within one collection.

Attributes

$obj->description
See description in User::Identity::Item.
$obj->name
See name in User::Identity::Item.
$obj->user( [USER] )

The user whose address this is. This is a weak link, which means that the location object will be removed when the user object is deleted and no other references to this location object exist.