Marcus Ramberg > MojoMojo-0.999029 > MojoMojo::Schema::ResultSet::Attachment

Download:
MojoMojo-0.999029.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: MojoMojo-0.999041

NAME ^

MojoMojo::Schema::ResultSet::Attachment

METHODS ^

create_from_file (page,filename,storage_callback)

function to create an instance from a given file. Takes a filename, a page to attach to, and a storage callback. The storage-callback will be called with a full path to where the file should be stored