View Source Bonfire.Classify (Bonfire v0.9.10-cooperation-beta.108)

An extension for Bonfire that handles:

  • Defining categories/topics
  • Defining relationships (parent or related) between categories to create taxonomies

Use Bonfire.Tag if you want to tag/classify posts or other objects with these categories/topics.

Handy commands

Copyright (c) 2020 Bonfire, Haha Academy, and CommonsPub Contributors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Summary

Functions

Link to this function

arrange_categories_tree(categories)

View Source
Link to this function

ensure_update_allowed(user, c)

View Source
Link to this function

my_followed_tree(current_user, opts)

View Source
Link to this function

publish(creator, verb, item, attrs, for_module \\ __MODULE__)

View Source