Class: Runo::Workflow::Forum

Inherits:
Runo::Workflow show all
Defined in:
lib/_workflow/forum.rb

Overview

Author

Akira FUNAI

Copyright

Copyright © 2009-2010 Akira FUNAI

Constant Summary collapse

DEFAULT_META =
{
  :conds      => {:p => 'last'},
  :p_size     => 10,
  :item_label => Runo::I18n.n_('post', 'posts', 1),
}
DEFAULT_SUB_ITEMS =
{
  '_owner'     => {:klass => 'meta-owner'},
  '_timestamp' => {:klass => 'meta-timestamp'},
}
PERM =
{
  :create => 0b11110,
  :read   => 0b11111,
  :update => 0b11000,
  :delete => 0b11000,
}

Constants inherited from Runo::Workflow

ROLE_ADMIN, ROLE_GROUP, ROLE_NONE, ROLE_OWNER, ROLE_USER

Instance Attribute Summary

Attributes inherited from Runo::Workflow

#sd

Method Summary

Methods inherited from Runo::Workflow

#_get, #_hide?, #after_commit, #before_commit, #default_sub_items, #initialize, instance, #next_action, #permit?, roles

Methods included from I18n

_, bindtextdomain, domain, domain=, find_msg, lang, lang=, merge_msg!, msg, n_, parse_msg, po_dir, po_dir=

Constructor Details

This class inherits a constructor from Runo::Workflow