NAME

OpusVL::SysParams::Schema::ResultSet::SysInfo

VERSION

version 0.14

SYNOPSIS

This is the ResultSet that actually stores and gets results from DBIx::Class.

$schema->resultset('SysInfo')->set('test.param', 1);
$schema->resultset('SysInfo')->get('test.param');
$schema->resultset('SysInfo')->del('test.param');

This is used by the OpusVL::SysParams object.

NAME

OpusVL::SysParams::Schema::ResultSet::SysInfo

METHODS

get

Get a system parameter. The key name is simply a string. It's suggested you use some kind of schema like 'system.key' to prevent name clashes with other unoriginal programmers.

set

Set a system parameter. The key name is simply a string. It's suggested you use some kind of schema like 'system.key' to prevent name clashes with other unoriginal programmers.

The value can be any data structure so long as it doesn't contain code.

del

Delete a system parameter.

key_names

Returns the keys of the system parameters.

ordered

Returns a resultset with an ordering applied.

AUTHOR

OpusVL, <colin at opusvl.com>

LICENSE AND COPYRIGHT

Copyright 2011 OpusVL.

This software is licensed according to the "IP Assignment Schedule" provided with the development project.

AUTHOR

OpusVL - www.opusvl.com

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by OpusVL - www.opusvl.com.

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