The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Office::Contacts::Database::PhoneNumber - 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:

o (None)

Methods

delete_phone_number_organization($creator_id, $id)

Deletes the database entry linking a phone number to an organization.

delete_phone_number_person($creator_id, $id)

Deletes the database entry linking a phone number to an person.

get_organizations_and_people($user_id, $uc_key)

Returns a list of 2 arrayrefs.

The first holds a list of people whose phone numbers match $uc_key.

The second holds a list of organizations whose phone numbers match $uc_key.

get_phone_number_id_via_number($number)

Returns the id of a phone number.

get_phone_number_id_via_organization($organization_id)

Returns phone number information for a given organization.

get_phone_number_id_via_person($person_id)

Returns phone number information for a given person.

get_phone_number_type_id_via_name($name)

Returns the id of an phone number type.

get_phone_number_type_name_via_id($id)

Returns an phone number type given its id.

get_phone_number_via_id($id)

Returns a hashref of phone number information given the id of an phone number. Keys in this hashref:

o number

The phone number.

o type_id

The id of the type of the phone number.

o type_name

The name of the type of the phone number.

save_phone_number_for_organization($context, $organization, $count)

Saves a phone number and which organization it is associated with.

save_phone_number_for_person($context, $person, $count)

Saves a phone number and which person it is associated with.

update_phone_number_type($creator_id, $number)

Updates the type of a phone number.

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.

Home page.

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