Skip to content

Instantly share code, notes, and snippets.

@RyanThompson
Last active April 3, 2016 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RyanThompson/ade2af4456af29985a91 to your computer and use it in GitHub Desktop.
Save RyanThompson/ade2af4456af29985a91 to your computer and use it in GitHub Desktop.
<?php
class ProductTableBuilder extends TableBuilder
{
protected $filters = [
'name',
'status'
];
protected $columns = [
'name',
'description',
'entry.category.name'
];
protected $buttons = [
'edit'
];
protected $actions = [
'delete'
];
protected $options = [
'sortable' => true
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment