Ron Savage > App-Office-Contacts > App::Office::Contacts::Database::PhoneNumber



Annotate this POD


Open  0
View/Report Bugs
Module Version: 2.01   Source  


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.


Returns the id of a phone number.


Returns phone number information for a given organization.


Returns phone number information for a given person.


Returns the id of an phone number type.


Returns an phone number type given its 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.


See "FAQ" in App::Office::Contacts.

Support ^

See "Support" in App::Office::Contacts.

Author ^

App::Office::Contacts was written by Ron Savage <> 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:

syntax highlighting: