PHP Класс OpenSkill\Datatable\Data\ResponseData

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Collection $data, integer $totalDataCount, integer $dataCount = null ) ResponseData constructor.
data ( ) : Collection
filteredDataCount ( ) : integer
totalDataCount ( ) : integer

Описание методов

__construct() публичный Метод

ResponseData constructor.
public __construct ( Collection $data, integer $totalDataCount, integer $dataCount = null )
$data Illuminate\Support\Collection the items that are returned from the provider
$totalDataCount integer the count of the total items that the provider started with
$dataCount integer the count of the total items that have been sorted out in search

data() публичный Метод

public data ( ) : Collection
Результат Illuminate\Support\Collection

filteredDataCount() публичный Метод

public filteredDataCount ( ) : integer
Результат integer

totalDataCount() публичный Метод

public totalDataCount ( ) : integer
Результат integer