-
-
17 Apr 2008 11:56:17 UTC
- Distribution: Egg-Model-FsaveDate
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (6 / 1 / 1)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (22.87KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Masatoshi Mizuno E<lt>lusheE<64>cpan.orgE<gt>
- Dependencies
- Digest::SHA1
- Egg::Release
- File::Path
- Test::More
- Test::Perl::Critic
- Test::Pod
- Test::Pod::Coverage
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Egg::Model::FsaveDate::Base - Base class for model 'FsaveDate'.
DESCRIPTION
This module is succeeded to from Egg::Model::FsaveDate in case of not being from the module if the controller module of Egg::Model::FsaveDate is prepared.
METHODS
In addition, Egg::Base has been succeeded to.
save ([SAVE_TEXT], [BASE_PATH])
The directory of the date is made under the control of BASE_PATH, and SAVE_TEXT is preserved as a file in that.
When BASE_PATH is omitted, 'base_path' of the configuration is used.
After the file is output, the passing is returned.
my $output_path= $e->model('fsavedate')->save($text);
The exception is generated when failing in the file output.
create_dir_name ([TIME_VALUE])
The date is returned from TIME_VALUE as a receipt directory name.
create_file_name ([SAVE_TEXT])
The HEX value generated with Digest::SHA1 by SAVE_TEXT is returned as a file name.
create_body ([SAVE_TEXT])
It is a method for the processing of the preservation data and the return. Data is only returned as it is usually. Please do override from the controller when processing it.
SEE ALSO
Egg::Release, Egg::Model::FsaveDate, Egg::Helper::Model::FsaveDate, File::Path, FileHandle,
AUTHOR
Masatoshi Mizuno <lushe@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
Module Install Instructions
To install Egg::Model::FsaveDate, copy and paste the appropriate command in to your terminal.
cpanm Egg::Model::FsaveDate
perl -MCPAN -e shell install Egg::Model::FsaveDate
For more information on module installation, please visit the detailed CPAN module installation guide.