Skip to content

HTML Table ext for DMZ

World Wide Web Server edited this page Jul 4, 2012 · 14 revisions

(Now with [b]_iterated[/b] support)

[b][color=red]ATTENTION:[/color][/b] this extension is third-party, so don't bother Phill with questions about it.

Features are:

  • well documented

  • label from $validation / custom label

  • mapping by $validation[‘field’][‘values’] / custom array mapping

  • custom callback-generated fields

  • autopagination with native CI paginator when _paged

  • table elements attributes assigned automaticaly

This extension works in the similar way as original HTML Form extension.

All it does is provide [b]render_table()[/b] method that builds html code based on settings given by user. It can save some time for you and make table-generation part of the view more readable. Extension is shipped with two table templates: object_per_row and object_per_column.

Docs are included in [url=http://codeigniter.com/wiki/File:dmz_htmltable.zip/]Distrib[/url].

[b]Installation:[/b] To make HTML Table available, copy application folder’s content from distrib into your application folder.

[b][color=red]WARNING![/color][/b] If you have your own MY_html_helper, be careful not to rewrite it with same file from this distrib, just append your own with it’s content.

MY_html_helper contains one single function wrap() that makes output of optional parts of page more convinient. It’s used in table templates.

Category:DMZ Extensions

Clone this wiki locally