root/branches/feature-narrow-tables/t/plugins/Awesome/lib/MT/Awesome.pm @ 1836

Revision 1836, 365 bytes (checked in by bchoate, 20 months ago)

Updates to support expressing meta columns in 'column_defs' structure.
Changes to registry lookup to support handler declarations.
Added meta type aliases for MT type names ('string', 'integer', etc.). BugId:68749

Line 
1
2package MT::Awesome;
3
4our @ISA = qw( MT::Object );
5
6__PACKAGE__->install_properties({
7    column_defs => {
8        id => 'integer not null auto_increment',
9        title => 'string(255)',
10        file => 'string(255)',
11        mime_type => 'string meta',
12    },
13    meta => 1,
14    class_type => 'foo',
15    datasource => 'awesome',
16    primary_key => 'id',
17});
18
191;
Note: See TracBrowser for help on using the browser.