NAME
Solstice::Resource::File::BlackBox - A file implementation
SYNOPSIS
package Solstice::Resource::File::BlackBox;
use Solstice::Resource::File::BlackBox;
DESCRIPTION
Superclass
Export
No symbols exported.
Methods
- setAttribute($key, $value)
- getAttribute($key)
-
Returns the value of the attribute identified by $key.
- setName($name)
-
Sets the name of the resource.
- getPath()
-
Returns the actual path to the file.
- get($filehandle)
-
Print the contents of the file to the passed filehandle.
- getFilehandle()
- getPermanentTicketURL()
- clone()
- getClassName()
-
Return a string containing the package name, avoiding a ref
Private Methods
- _store()
-
Adds/modifies an entry in the solstice database for the file.
- _delete()
- _initFromID($int)
-
Loads the File from the DB by id.
- _initFromHash(\%params)
- _initEmpty()
- _initFileAttributes()
- _generateFilePath()
- _storeAttributes()
- _getAccessorDefinition()
Modules Used
Solstice::Database, Solstice::Resource::File.
AUTHOR
Catalyst Group, <catalyst@u.washington.edu>
VERSION
$Revision: 924 $
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.