Peter Flanigan > CatalystX-Usul > CatalystX::Usul::Model::FileSystem

Download:
catalystx-usul/CatalystX-Usul-0.7.1184.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: v0.7.1181   Source  

Name ^

CatalystX::Usul::Model::FileSystem - File system related methods

Version ^

0.7.$Revision: 1181 $

Synopsis ^

   package MyApp::Model::FileSystem;

   use base qw(CatalystX::Usul::Model::FileSystem);

   1;

   package MyApp::Controller::Foo;

   sub bar {
      my ($self, $c) = @_;

      $c->model( q(FileSystem) )->list_subdirectory( { dir => q(/path) } );
      return;
   }

Description ^

This model provides methods for manipulating files and directories

Subroutines/Methods ^

build_per_context_instance

Creates an instance of CatalystX::Usul::Filesystem

get_file_systems

Returns the file systems on the local host

list_subdirectory

Returns the contents of the selected directory as a CatalystX::Usul::Table object

view_file

Stash the data used by HTML::FormWidgets to view a file of a given type

Diagnostics ^

None

Configuration and Environment ^

None

Dependencies ^

CatalystX::Usul::Model
CatalystX::Usul::FileSystem

Incompatibilities ^

There are no known incompatibilities in this module

Bugs and Limitations ^

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author ^

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright ^

Copyright (c) 2008 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

syntax highlighting: