Class: Bike::Workflow::Blog

Inherits:
Bike::Workflow show all
Defined in:
lib/_workflow/blog.rb

Overview

Author

Akira FUNAI

Copyright

Copyright © 2009 Akira FUNAI

Constant Summary collapse

DEFAULT_META =
{
  :p_size     => 10,
  :conds      => {:d => '999999', :p => 'last'},
  :order      => '-id',
  :item_label => Bike::I18n.n_('entry', 'entries', 1),
}
DEFAULT_SUB_ITEMS =
{
  '_owner'     => {:klass => 'meta-owner'},
  '_group'     => {:klass => 'meta-group'},
  '_timestamp' => {:klass => 'meta-timestamp'},
}
PERM =
{
  :create => 0b11000,
  :read   => 0b11111,
  :update => 0b10100,
  :delete => 0b10100,
}

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