Bånder

HasLibraryStats

Table of Contents

Methods

getFormattedStats()  : FormattedLibraryStats
Get formatted library statistics and store them in meta
getRawStats()  : LibraryStats
Get raw library statistics and store them in meta
formatBytes()  : string
Format bytes to human readable format
formatDuration()  : string
Format duration in seconds to human readable format
getStats()  : array<string|int, mixed>
Get comprehensive library statistics from database

Methods

formatBytes()

Format bytes to human readable format

private formatBytes(int $bytes) : string
Parameters
$bytes : int
Return values
string

formatDuration()

Format duration in seconds to human readable format

private formatDuration(int $seconds) : string
Parameters
$seconds : int
Return values
string

getStats()

Get comprehensive library statistics from database

private getStats() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results