NAME

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

Each instance of this class is a Moo-based object with these attributes:

o autocomplete

Is an object of type App::Office::Contacts::Database::AutoComplete.

o email_address

Is an object of type App::Office::Contacts::Database::EmailAddress.

o library

Is an object of type App::Office::Contacts::Database::Library.

o logger

Is an object of type App::Office::Contacts::Util::Logger, and must be passed in to new().

o module_config

Is a hashref of options read from share/.htapp.office.contacts.conf, and must be passed in to new().

o note

Is an object of type App::Office::Contacts::Database::Note.

o occupation

Is an object of type App::Office::Contacts::Database::Occupation.

o organization

Is an object of type App::Office::Contacts::Database::Organization.

o person

Is an object of type App::Office::Contacts::Database::Person.

o phone_number

Is an object of type App::Office::Contacts::Database::PhoneNumber.

o query

Is a CGI-style object, and must be passed in to new().

o session

Is an object of type Data::Session.

o simple

Is an object of type DBIx::Simple, copied from the App::Office::Contacts::Util::Logger object. This is done to shorted the method call chain.

o templater

Is an object of type Text::Xslate.

Further, each attribute name is also a method name.

Methods

autocomplete()

Returns an object of type App::Office::Contacts::Database::AutoComplete.

email_address()

Returns an object of type App::Office::Contacts::Database::EmailAddress.

init()

This method is called from BUILD(), and is designed to be overridden by sub-classes.

library

Returns an object of type App::Office::Contacts::Database::Library.

logger()

Returns an object of type App::Office::Contacts::Util::Logger.

module_config()

Returns a hashref of options read from share/.htapp.office.contacts.conf and passed in to new().

note()

Returns an object of type App::Office::Contacts::Database::Note.

occupation()

Returns an object of type App::Office::Contacts::Database::Occupation.

organization()

Returns an object of type App::Office::Contacts::Database::Organization.

person()

Returns an object of type App::Office::Contacts::Database::Person.

phone_number()

Returns an object of type App::Office::Contacts::Database::PhoneNumber.

query()

Returns the CGI-style object passed in to new().

session()

Returns an object of type Data::Session.

simple()

Returns an object of type DBIx::Simple.

templater()

Returns an object of type Text::Xslate.

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