CatalystX::Usul::Model::Config::Credentials - Database connection definitions


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.

Index


Name

Top

CatalystX::Usul::Model::Config::Credentials - Database connection definitions

Version

Top

0.3.$Revision: 591 $

Synopsis

Top

   # The constructor is called by Catalyst at startup

Description

Top

Maintains database connection strings

Defines the language independent attributes; driver, host, password, port and user for the credentials element. Returns a CatalystX::Usul::Model::Config object

Subroutines/Methods

Top

new

Defined the ctrldir attribute

create_or_update

   $c->model( q(Config::Credentials) )->create_or_update( $stash, $args );

Encrypts the $args->{req}->params->{password} attribute by calling encrypt in CatalystX::Usul::Schema. Then calls method of same name in CatalystX::Usul::Model::Config

credentials_form

   $c->model( q(Config::Credentials) )->credentials_form( $stash );

Stuffs the stash with the data to build the credentials maintenance form

Diagnostics

Top

None

Configuration and Environment

Top

None

Dependencies

Top

CatalystX::Usul::Model::Config
CatalystX::Usul::Schema

Incompatibilities

Top

There are no known incompatibilities in this module

Bugs and Limitations

Top

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

Author

Top

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

License and Copyright

Top


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.