1
package Padre::DB::SyntaxHighlight;
3
# This class will be automatically loaded by Padre::DB,
4
# Overloading the code already auto-generated by Padre::DB.
13
my $mime_type = shift;
18
'where mime_type = ?', $mime_type,
21
mime_type => $mime_type,
36
Padre::DB::SyntaxHighlight - Database table to store mime-type to syntax highlighter mapping
40
my @files = Padre::DB::SyntaxHighlight->select(
41
'where mime_type = ?', $mime_type,
46
This class allows storing in L<Padre>'s database the the name of the
47
syntax highlighter module.
53
The following accessors are automatically created by L<ORLite>:
71
The following subs are automatically created by L<ORLite>.
72
Refer to L<ORLite> for more information on them:
92
=head1 COPYRIGHT & LICENSE
94
Copyright 2008-2009 The Padre development team as listed in Padre.pm.
96
This program is free software; you can redistribute
97
it and/or modify it under the same terms as Perl itself.
99
The full text of the license can be found in the
100
LICENSE file included with this module.
104
# Copyright 2008-2009 The Padre development team as listed in Padre.pm.
106
# This program is free software; you can redistribute it and/or
107
# modify it under the same terms as Perl 5 itself.