Jifty::Plugin::SiteNews::Mixin::Model::News.3pm

Langue: en

Version: 2008-08-12 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Jifty::Plugin::SiteNews::Mixin::Model::News - News model

create

Create the News model. Takes a paramhash with keys author_id, created, title, and content.

current_user_can

Anyone can read news articles, only administrators can create, update, or delete them.

as_atom_entry

Returns the task as an XML::Atom::Entry object.