The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Foorum::ResultSet::ForumSettings - ForumSettings object

FUNCTION

get_all($forum_id)
  $schema->resultset('ForumSettings')->get_all( $forum_id );
  $c->model('DBIC::ForumSettings')->get_all( $forum_id );

It gets the data from forum_settings table.

return $HASHREF

get_basic($forum_id)
  $schema->resultset('ForumSettings')->get_basic( $forum_id );
  $c->model('DBIC::ForumSettings')->get_basic( $forum_id );

get the settings of my @all_types = qw/can_post_threads can_post_replies can_post_polls/;

return $HASHREF

AUTHOR

Fayland Lam <fayland at gmail.com>