Shlomi Fish

NAME

Mail::LMLM::Types::Base - the base class for the mailing list types.

SYNOPSIS

Extend the class.

METHODS

Mail::LMLM::Types::MyMailingListType->new(%args)

%args keys can be:

  • id

    The id of the mailing list - used for URLs, etc.

  • group_base

    The base username of the mailing list.

  • desc (or description)

    The description of the mailing list.

  • hostname

    The hostname where the mailing list is hosted.

  • homepage

    The mailing list's homepage

  • online_archive

    The online archive of the mailing list (can be a coderef).

  • guidelines

    Guidelines for posting on the list.

  • notes

    Notes for the mailing list.

get_id()

An accessor for the ID.

get_description()

An accessor for the description.

get_homepage

An accessor for the homepage. (may be overrided by derived classes).

get_group_base

An accessor for the group base.

get_hostname

An accessor for the hostname.

get_online_archive

An accessor for the online archive.

get_guidelines

An accessor for the guidelines.

render_subscribe

Render the subscribe part.

render_unsubscribe

Render the unsubscribe part.

render_post

Render the post part.

render_owner

Render the owner part.

render_none

Render a paragraph saying "None".

render_homepage

Render the homepage part.

render_online_archive

Render the online archive part.

$self->render_field($htmler, $desc)

Renders the $desc using the rendered.

render_description

Render the description part.

render_guidelines

Render the guidelines part.

$type->render_something_with_email_addr($htmler, $begin_msg, $address_method)

Render something with the email address.

INTERNAL METHODS

initialize()

This is a helper for new(). For internal use.

parse_args()

This is a helper for initialize(). For internal use.

SEE ALSO

Mail::LMLM

AUTHOR

Shlomi Fish, http://www.shlomifish.org/