app/presenters/tree_builder_report_export.rb
# Get root nodes count/array for explorer tree
Get root nodes count/array for explorer tree
Get root nodes count / array for explorer tree
def x_get_tree_roots(count_only, _options)
    export_children = [
      {:id    => 'exportcustomreports',
       :text  => _('Custom Reports'),
       :image => 'report'},
      {:id    => 'exportwidgets',
       :text  => _('Widgets'),
       :image => 'report'}
    ]
    count_only_or_objects(count_only, export_children, nil)
  end
def x_get_tree_roots ( count_only , _options ) export_children = [ { :id => 'exportcustomreports' , :text => _ ( 'Custom Reports' ) , :image => 'report' } , { :id => 'exportwidgets' , :text => _ ( 'Widgets' ) , :image => 'report' } ] count_only_or_objects ( count_only , export_children , nil ) end
Get root nodes count/array for explorer tree
Get root nodes count / array for explorer tree
count_only
<not_specific>
_options
<not_specific>