You are here

function datatables_theme in DataTables 6

Same name and namespace in other branches
  1. 8 datatables.module \datatables_theme()
  2. 7.2 datatables.module \datatables_theme()
  3. 7 datatables.module \datatables_theme()
  4. 2.x datatables.module \datatables_theme()
  5. 1.x datatables.module \datatables_theme()

Implementation of hook_theme().

File

./datatables.module, line 11
Provides integration of the jQuery DataTables plugin

Code

function datatables_theme() {
  return array(
    'datatable' => array(
      'arguments' => array(
        $header => NULL,
        $rows => NULL,
        $attributes => $caption,
      ),
    ),
  );
}