Advertisement
Guest User

Untitled

a guest
Oct 28th, 2018
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.03 KB | None | 0 0
  1. <?php namespace Snipcart\ProductsModule\Product\Table;
  2.  
  3. use Anomaly\Streams\Platform\Ui\Table\TableBuilder;
  4.  
  5. class ProductTableBuilder extends TableBuilder
  6. {
  7.  
  8.     /**
  9.      * The table views.
  10.      *
  11.      * @var array|string
  12.      */
  13.     protected $views = [];
  14.  
  15.     /**
  16.      * The table filters.
  17.      *
  18.      * @var array|string
  19.      */
  20.     protected $filters = [];
  21.  
  22.     /**
  23.      * The table columns.
  24.      *
  25.      * @var array|string
  26.      */
  27.     protected $columns = [
  28.         'entry.image.preview',
  29.         'name',
  30.         'entry.price.currency'
  31.     ];
  32.  
  33.     /**
  34.      * The table buttons.
  35.      *
  36.      * @var array|string
  37.      */
  38.     protected $buttons = [
  39.         'edit'
  40.     ];
  41.  
  42.     /**
  43.      * The table actions.
  44.      *
  45.      * @var array|string
  46.      */
  47.     protected $actions = [
  48.         'delete'
  49.     ];
  50.  
  51.     /**
  52.      * The table options.
  53.      *
  54.      * @var array
  55.      */
  56.     protected $options = [];
  57.  
  58.     /**
  59.      * The table assets.
  60.      *
  61.      * @var array
  62.      */
  63.     protected $assets = [];
  64.  
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement