Solstice::Resource::Directory - A model representing a directory


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

Solstice::Resource::Directory - A model representing a directory

SYNOPSIS

Top

  package Solstice::Resource::Directory;

  use Solstice::Resource::Directory;

DESCRIPTION

Top

Superclass

Solstice::Resource.

Export

No symbols exported.

Methods

getContentTypeDescription()

Return a string containing a description of this resource.

isContainer()

Return TRUE if the resource is a container, FALSE otherwise.

list()

Fetch the contents of this directory. Return TRUE on success, FALSE otherwise.

contains($filename)

Returns TRUE if the directory contains the passed $filename, FALSE otherwise.

addChild()
isValidChildName($name)

Returns TRUE if passed $name is valid for a child resource, FALSE otherwise.

getFileClass()

Private Methods

_store()

Recursively store children.

Modules Used

Solstice::Resource.

SEE ALSO

Top

AUTHOR

Top

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

VERSION

Top

$Revision: 747 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.