5.7.230. Bugzilla::Extension::SubComponents¶
5.7.230.1. NAME¶
Bugzilla::SubComponents::Extension - Extension for supporting Sub Components
5.7.230.2. DESCRIPTION¶
This extension includes the code and hooks for the Red Hat customisation that handles Sub Component. A single sub component is a Bugzilla::Extension::SubComponents::RHSubComponent object.
5.7.230.3. METHODS¶
This only lists methods that map to other modules. Specifically, it excludes hooks and internal functions
- _get_sub_components
Called as Bugzilla::Component->get_sub_components
Returns an arrayref of the top level sub components that the component has
- _get_sub_component_list
Called as Bugzilla::Component->get_sub_component_list
Returns an arrayref of the sub components that the component is ordered by sort order and level. This is ideal for showing sub components in a drop down list.
- _get_sub_component_list_tree
Called as Bugzilla::Component->get_sub_component_list_tree
This is a helper function for _get_sub_component_list, and is called recursively
- _new_from_list
Called as Bugzilla::Component->new_from_list
Returns the same as the upstream call, but precomputes the sub_components value for efficency gains
- _sub_component_count
Called as Bugzilla::Component->sub_component_count
Returns the number of top level sub components that the component has
- _has_sub_components
Called as Bugzilla::Product->has_sub_components
Returns the number of components that have sub components.
- _get_sub_component_responsibilities
Called as Bugzilla::User->sub_component_responsibilities
Returns a list of hashes of products and their components. The components hash contains a parent component and a list of its child sub components (not in tree order)
- _rh_sub_component_objs
Called as Bugzilla::Bug->rh_sub_component_objs
Returns an arrayref of sub component objects the bug has
- _rh_sub_components
Called as Bugzilla::Bug->rh_sub_components
Returns an arrayref of sub component names (flattened, seperate by spaces) the bug has
- _rh_sub_component_ids
Called as Bugzilla::Bug->rh_sub_component_ids
Returns an arrayref of sub component ids the bug has
This documentation undoubtedly has bugs; if you find some, please file them here.