PHP 클래스 OpenSkill\Datatable\Data\ResponseData

파일 보기 프로젝트 열기: openskill/datatable 1 사용 예제들

공개 메소드들

메소드 설명
__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