invoiceninja/app/Ninja/Datatables/EntityDatatable.php

50 lines
726 B
PHP
Raw Normal View History

<?php
2016-05-23 19:52:20 +03:00
namespace App\Ninja\Datatables;
/**
* Class EntityDatatable
*/
2016-05-23 19:52:20 +03:00
class EntityDatatable
{
public $entityType;
/**
* @var bool
*/
2016-05-23 19:52:20 +03:00
public $isBulkEdit;
/**
* @var bool
*/
2016-05-23 19:52:20 +03:00
public $hideClient;
/**
* EntityDatatable constructor.
*
* @param bool $isBulkEdit
* @param bool $hideClient
*/
2016-05-23 19:52:20 +03:00
public function __construct($isBulkEdit = true, $hideClient = false)
{
$this->isBulkEdit = $isBulkEdit;
$this->hideClient = $hideClient;
}
/**
* @return array
*/
2016-05-23 19:52:20 +03:00
public function columns()
{
return [];
}
/**
* @return array
*/
2016-05-23 19:52:20 +03:00
public function actions()
{
return [];
}
}