Creates a new instance of category.
# File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/standard.rb, line 125
125: def uhook_create_category
126: ::Category.new(params[:category])
127: end
Destroys a category instance. returns a success boolean
# File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/standard.rb, line 130
130: def uhook_destroy_category(category)
131: category.destroy
132: end
Performs any required action on category when in edit Edit action will not continue if this hook returns false
# File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/standard.rb, line 120
120: def uhook_edit_category category
121: true
122: end
Returns a hash with extra filters to apply
# File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/standard.rb, line 97
97: def uhook_index_filters
98: {}
99: end
Returns a subject that will have applied the index filters (e.g. a class, with maybe some scopes applied)
# File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/standard.rb, line 103
103: def uhook_index_search_subject
104: ::Category
105: end
Initializes a new instance of category.
# File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/standard.rb, line 108
108: def uhook_new_category
109: ::Category.new
110: end
Performs any required action on category when in show Show action will not continue if this hook returns false
# File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/standard.rb, line 114
114: def uhook_show_category category
115: true
116: end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.