NAME

Nile::Helper - Helpers base class for the Nile framework.

SYNOPSIS

DESCRIPTION

Nile::Helper - Helpers base class for the Nile framework.

setting()

# inside helper classes, return current helper class config settings
my $setting = $self->setting();
my %setting = $self->setting();

# 
# inside helper classes, return specific helper class config settings
my $setting = $self->setting("email");
my %setting = $self->setting("email");

Returns helper class settings from configuration files loaded.

Helper class settings in config files must be in inside the helper tag. The helper class name must be lower case tag, so class Email should be email.

Exampler settings for email helper class below:

<helper>
	<email>
		<smtp>localhost</smtp>
		<user>webmaster</user>
		<pass>1234</pass>
	</email>
</helper>

Bugs

This project is available on github at https://github.com/mewsoft/Nile.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Nile.

SOURCE

Source repository is at https://github.com/mewsoft/Nile.

SEE ALSO

See Nile for details about the complete framework.

AUTHOR

Ahmed Amin Elsheshtawy, احمد امين الششتاوى <mewsoft@cpan.org> Website: http://www.mewsoft.com

COPYRIGHT AND LICENSE

Copyright (C) 2014-2015 by Dr. Ahmed Amin Elsheshtawy احمد امين الششتاوى mewsoft@cpan.org, support@mewsoft.com, https://github.com/mewsoft/Nile, http://www.mewsoft.com

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