PHP 클래스 Piwik\Plugins\DevicesDetection\API

상속: extends Piwik\Plugin\API
파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
getBrand ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable Gets datatable displaying number of visits by device manufacturer name
getBrowserEngines ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable Gets datatable displaying number of visits by Browser engine (eg. Trident, Gecko, Blink,.
getBrowserFamilies ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable Gets datatable displaying number of visits by Browser family (eg. Firefox, InternetExplorer)
getBrowserVersions ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable Gets datatable displaying number of visits by Browser version (eg. Firefox 20, Safari 6.0)
getBrowsers ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable Gets datatable displaying number of visits by Browser (Without version)
getModel ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable Gets datatable displaying number of visits by device model
getOsFamilies ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable Gets datatable displaying number of visits by OS family (eg. Windows, Android, Linux)
getOsVersions ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable Gets datatable displaying number of visits by OS version (eg. Android 4.0, Windows 7)
getType ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable Gets datatable displaying number of visits by device type (eg. desktop, smartphone, tablet)

보호된 메소드들

메소드 설명
ensureDefaultRowsInTable ( $dataTable )
getDataTable ( string $name, integer $idSite, string $period, string $date, string $segment ) : DataTable
mergeDataTables ( Piwik\DataTable\DataTableInterface $dataTable, Piwik\DataTable\DataTableInterface $dataTable2 ) : Piwik\DataTable\DataTableInterface That methods handles the fallback to version datatables to calculate those without versions.

메소드 상세

ensureDefaultRowsInTable() 보호된 메소드

protected ensureDefaultRowsInTable ( $dataTable )

getBrand() 공개 메소드

Gets datatable displaying number of visits by device manufacturer name
public getBrand ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable
$idSite integer
$period string
$date string
$segment boolean | string
리턴 Piwik\DataTable

getBrowserEngines() 공개 메소드

..)
public getBrowserEngines ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable
$idSite integer
$period string
$date string
$segment boolean | string
리턴 Piwik\DataTable

getBrowserFamilies() 공개 메소드

Gets datatable displaying number of visits by Browser family (eg. Firefox, InternetExplorer)
사용 중단: since 2.9.0 Use {@link getBrowsers} instead.
public getBrowserFamilies ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable
$idSite integer
$period string
$date string
$segment boolean | string
리턴 Piwik\DataTable

getBrowserVersions() 공개 메소드

Gets datatable displaying number of visits by Browser version (eg. Firefox 20, Safari 6.0)
public getBrowserVersions ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable
$idSite integer
$period string
$date string
$segment boolean | string
리턴 Piwik\DataTable

getBrowsers() 공개 메소드

Gets datatable displaying number of visits by Browser (Without version)
public getBrowsers ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable
$idSite integer
$period string
$date string
$segment boolean | string
리턴 Piwik\DataTable

getDataTable() 보호된 메소드

protected getDataTable ( string $name, integer $idSite, string $period, string $date, string $segment ) : DataTable
$name string
$idSite integer
$period string
$date string
$segment string
리턴 Piwik\DataTable

getModel() 공개 메소드

Gets datatable displaying number of visits by device model
public getModel ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable
$idSite integer
$period string
$date string
$segment boolean | string
리턴 Piwik\DataTable

getOsFamilies() 공개 메소드

Gets datatable displaying number of visits by OS family (eg. Windows, Android, Linux)
public getOsFamilies ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable
$idSite integer
$period string
$date string
$segment boolean | string
리턴 Piwik\DataTable

getOsVersions() 공개 메소드

Gets datatable displaying number of visits by OS version (eg. Android 4.0, Windows 7)
public getOsVersions ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable
$idSite integer
$period string
$date string
$segment boolean | string
리턴 Piwik\DataTable

getType() 공개 메소드

Gets datatable displaying number of visits by device type (eg. desktop, smartphone, tablet)
public getType ( integer $idSite, string $period, string $date, boolean | string $segment = false ) : DataTable
$idSite integer
$period string
$date string
$segment boolean | string
리턴 Piwik\DataTable

mergeDataTables() 보호된 메소드

Unlike DevicesDetection plugin now, the UserSettings plugin did not store archives holding the os and browser data without their version number. The "version-less" reports were always generated out of the "version-containing" archives . For big archives (month/year) that ment that some of the data was truncated, due to the datatable entry limit. To avoid that data loss / inaccuracy in the future, DevicesDetection plugin will also store archives without the version. For data archived before DevicesDetection plugin was enabled, those archives do not exist, so we try to calculate them here from the "version-containing" reports if possible.
protected mergeDataTables ( Piwik\DataTable\DataTableInterface $dataTable, Piwik\DataTable\DataTableInterface $dataTable2 ) : Piwik\DataTable\DataTableInterface
$dataTable Piwik\DataTable\DataTableInterface
$dataTable2 Piwik\DataTable\DataTableInterface
리턴 Piwik\DataTable\DataTableInterface