Solstice::Resource::File - A model representing a file


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

Solstice::Resource::File - A model representing a file

SYNOPSIS

Top

  package Solstice::Resource::File;

  use Solstice::Resource::File;

DESCRIPTION

Top

Superclass

Solstice::Resource.

Export

No symbols exported.

Methods

getContentTypeDescription()

Return a string containing a description of this resource.

getTicket()
getTicketURL()
getThumbnailURL([$max_size])

Return a ticketed URL for generating a thumbnail download.

put($filehandle)
get($filehandle)

Print the contents of the file to the passed filehandle.

clone()

Returns a clone of the resource, with the name stripped and a source path added.

toStandardOut()
makeThumbnail([$size])
addChild()

Private Methods

_initFromHash(\%params)
_putUploadFilehandle($upload)
_putFilehandle($filehandle)

Like put, but for normal filehandles

_generateThumbnailPath()
_getAccessorDefinition()

Modules Used

Solstice::Resource.

AUTHOR

Top

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Top

$Revision: 924 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.