1 require_dependency "locmare/filer/header"
2 require_dependency "locmare/filer/body"
3 require_dependency "locmare/filer/footer"
7 attr :manifest, :item_name, :items, :paginate, :operators, :template_dir,
8 :header, :body, :footer
9 def initialize item_name, items, paginate, operators
10 @item_name = item_name
13 @operators = operators
14 @manifest = LocalManifest.manifest.filers[@item_name]
15 @template_dir = 'templates/r/filer/'
16 @header = Header.new self
18 @footer = Footer.new self, paginate
22 ::Manifest::item_name_to_model @item_name
25 def template_file_name
30 self.template_dir + self.template_file_name