15 lines
405 B
PHP
15 lines
405 B
PHP
|
<!-- o = Array of Model_Site_Date -->
|
||
|
<?php echo Table::factory()
|
||
|
->page_items(50)
|
||
|
->data($o)
|
||
|
->columns(array(
|
||
|
'id'=>'ID',
|
||
|
'code'=>'Code',
|
||
|
'date_start'=>'Date Start',
|
||
|
'date_stop'=>'Date End',
|
||
|
))
|
||
|
->prepend(array(
|
||
|
'id'=>array('url'=>URL::link('admin','site_date/edit/')),
|
||
|
));
|
||
|
?>
|