Files

Class Index [+]

Quicksearch

UbiquoCategories::Connectors::I18n::CategorySet::InstanceMethods

Public Instance Methods

uhook_category_identifier_for_name(category_name) click to toggle source

Returns an identifier value for a given category_name in this set

    # File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/i18n.rb, line 85
85:           def uhook_category_identifier_for_name category_name
86:             self.select_fittest(category_name).content_id rescue 0
87:           end
uhook_select_fittest(category, options = {}) click to toggle source

Returns the fittest category in the requested locale

    # File vendor/plugins/ubiquo_categories/lib/ubiquo_categories/connectors/i18n.rb, line 90
90:           def uhook_select_fittest category, options = {}
91:             options[:locale] ? (category.in_locale(options[:locale]) || category) : category
92:           end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.