NAME
App::Office::Contacts::Database::EmailAddress - A web-based contacts manager
Synopsis
See "Synopsis" in App::Office::Contacts.
Description
App::Office::Contacts implements a utf8-aware, web-based, private and group contacts manager.
Distributions
See "Distributions" in App::Office::Contacts.
Installation
See "Installation" in App::Office::Contacts.
Object attributes
This module extends App::Office::Contacts::Database::Base, with these attributes:
Methods
delete_email_address_organization($creator_id, $id)
Deletes the database entry linking an email address to an organization.
delete_email_address_person($creator_id, $id)
Deletes the database entry linking an email address to a person.
get_email_address_id_via_address($address)
Returns the id of an email address.
get_email_address_id_via_organization($organization_id)
Returns email address information for a given organization.
get_email_address_id_via_person($person_id)
Returns email address information for a given person.
get_email_address_type_id_via_name($name)
Returns the id of an email address type.
get_email_address_type_name_via_id($id)
Returns an email address type given its id.
get_email_address_via_id($id)
Returns a hashref of email address information given the id of an email address. Keys in this hashref:
- o address
-
The email address.
- o type_id
-
The id of the type of the email address.
- o type_name
-
The name of the type of the email address.
get_organizations_and_people($user_id, $uc_key)
Returns a list of 2 arrayrefs.
The first holds a list of people whose email addresses match $uc_key.
The second holds a list of organizations whose email addresses match $uc_key.
save_email_address_for_organization($context, $organization, $count)
Saves an email address and which organization it is associated with.
save_email_address_for_person($context, $person, $count)
Saves an email address and which person it is associated with.
update_email_address_type($creator_id, $address)
Updates the type of an email address.
FAQ
See "FAQ" in App::Office::Contacts.
Support
See "Support" in App::Office::Contacts.
Author
App::Office::Contacts
was written by Ron Savage <ron@savage.net.au> in 2013.
Copyright
Australian copyright (c) 2013, Ron Savage. All Programs of mine are 'OSI Certified Open Source Software'; you can redistribute them and/or modify them under the terms of The Artistic License V 2, a copy of which is available at: http://www.opensource.org/licenses/index.html