PHP 클래스 Arcanedev\LogViewer\Tables\StatsTable

저자: ARCANEDEV ([email protected])
상속: extends Arcanedev\LogViewer\Bases\Table
파일 보기 프로젝트 열기: ARCANEDEV/LogViewer 1 사용 예제들

공개 메소드들

메소드 설명
make ( array $data, Arcanedev\LogViewer\Contracts\Utilities\LogLevels $levels, string | null $locale = null ) : StatsTable Make a stats table instance.
totals ( string | null $locale = null ) : Collection Get totals.
totalsJson ( string | null $locale = null ) : string Get json totals data.

보호된 메소드들

메소드 설명
prepareFooter ( array $data ) : array Prepare table footer.
prepareHeader ( array $data ) : array Prepare table header.
prepareRows ( array $data ) : array Prepare table rows.

메소드 상세

make() 공개 정적인 메소드

Make a stats table instance.
public static make ( array $data, Arcanedev\LogViewer\Contracts\Utilities\LogLevels $levels, string | null $locale = null ) : StatsTable
$data array
$levels Arcanedev\LogViewer\Contracts\Utilities\LogLevels
$locale string | null
리턴 StatsTable

prepareFooter() 보호된 메소드

Prepare table footer.
protected prepareFooter ( array $data ) : array
$data array
리턴 array

prepareHeader() 보호된 메소드

Prepare table header.
protected prepareHeader ( array $data ) : array
$data array
리턴 array

prepareRows() 보호된 메소드

Prepare table rows.
protected prepareRows ( array $data ) : array
$data array
리턴 array

totals() 공개 메소드

Get totals.
public totals ( string | null $locale = null ) : Collection
$locale string | null
리턴 Illuminate\Support\Collection

totalsJson() 공개 메소드

Get json totals data.
public totalsJson ( string | null $locale = null ) : string
$locale string | null
리턴 string