Fayland 林 > Foorum-1.001000 > Foorum::ResultSet::ForumSettings

Download:
Foorum-1.001000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.001000   Source  

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>

syntax highlighting: