Egg::Model::FsaveDate::Base - Base class for model 'FsaveDate'.
In addition, Egg::Base has been succeeded to.
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.
The date is returned from TIME_VALUE as a receipt directory name.
The HEX value generated with Digest::SHA1 by SAVE_TEXT is returned as a file name.
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.
Masatoshi Mizuno <email@example.com>
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.