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

NAME

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

add($occupation)

Adds the occupation to the occupations table.

delete($occupation_id)

Deletes the occupation from the occupations table.

get_occupation_title_via_id($id)

Returns the occupation title with the given $id.

get_occupation_via_id($occupation)

Returns a hashref for the occupation with the given $id. Keys in this hashref are:

o occupation_title
o organization_id
o organization_name
o person_id

get_occupation_via_organization($organization_id)

Returns an arrayref of hashrefs where the occupation has the given $organization_id.

Keys in the hashref are column names from the occupations table.

get_occupation_via_person($person_id)

Returns an arrayref of hashrefs where the occupation has the given $person_id.

Keys in the hashref are column names from the occupations table.

save_occupation_record($context, $occupation)

Saves the given $occupation to the occupations table. $context is 'add'.

save_occupation_title($title)

Saves the given $title to the occupation_titles table.

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