Marcus Ramberg > MojoMojo-1.09 > MojoMojo::Schema::Result::Attachment

Download:
MojoMojo-1.09.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: MojoMojo-1.11

NAME ^

MojoMojo::Schema::Result::Attachment - store attachments

METHODS ^

delete

Delete the inline and thumbnail versions but keep the original version ($self-filename>).

filename

Full path to this attachment.

inline_filename

Name of attachment file when displayed inline.

thumb_filename

Nmae of thumbnail of attachment.

make_photo

Insert photo id and title into photo table.

is_image

Predicate to indicate is the contenttype is image or not.

is_text

Predicate to indicate is the contenttype is text or not.

human_size

Get a human readable size.

human_type

Describe the mime type (in English?).

AUTHOR ^

Marcus Ramberg <mramberg@cpan.org>

LICENSE ^

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: