TreePath::Backend::DBIx - Backend 'DBIx' for TreePath
version 0.22
$tp = TreePath->new( conf => 't/conf/treefromdbix.yml' ); # t/conf/treefromdbix.yml Model::TPath: schema_class: Schema::TPath connect_info: dsn: 'dbi:SQLite:dbname=:memory:' TreePath: debug: 0 backend: name: DBIx args: model: Model::TPath populate_backend: 1 sources_name: Page: columns: - name - parent search_field: name parent_field: parent Comment: columns: - page parent_field: page
See t/lib/Schema/TPath.pm
Daniel Brosseau, <dab at catapulse.org>
<dab at catapulse.org>
Copyright 2014 Daniel Brosseau.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install TreePath, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TreePath
CPAN shell
perl -MCPAN -e shell install TreePath
For more information on module installation, please visit the detailed CPAN module installation guide.