Class: Bike::Workflow::Forum

Inherits:
Bike::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 => Bike::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 Bike::Workflow

ROLE_ADMIN, ROLE_GROUP, ROLE_NONE, ROLE_OWNER, ROLE_USER

Instance Attribute Summary

Attributes inherited from Bike::Workflow

#f

Method Summary

Methods inherited from Bike::Workflow

#call, #default_meta, #default_sub_items, #get, #initialize, instance, #permit?, #post, roles, #sd_module

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 Bike::Workflow