The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

  package Solstice::Resource::Directory;
  
  use Solstice::Resource::Directory;
 

DESCRIPTION

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

AUTHOR

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

VERSION

$Revision: 747 $

COPYRIGHT

Copyright 1998-2007 Office of Learning Technologies, University of Washington

Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.