1 package Blog
::RDBO
::Comment
::Manager
;
5 use base
'Rose::DB::Object::Manager';
7 use Blog
::RDBO
::Comment
;
9 sub object_class
{ 'Blog::RDBO::Comment' }
11 __PACKAGE__
->make_manager_methods( 'comments');
13 use Common
::RDBO
::Helper
::Comment
::Manager
':all';
19 my $c = Blog
->context;
21 return $self->get_recent(
22 query
=> [ 't3.lang' => $c->language ],
23 select => [ qw
/ id post_id t2.id t2.key t3.i18nid content / ],
25 require_objects
=> [ 'post.post_i18n' ]
35 This library is free software, you can redistribute it and/or modify
36 it under the same terms as Perl itself.