TwistPHP Documentation

anonymousStats

File path: dist/twist/Core/Models/Package.model.php
Namespace: Twist\Core\Models
Extends:

anonymousStatsReport some Anonymous usage stats on packages that are installed/uninstalled, this helps to show popular packages in the TwistPHP package repository server.
This information is solely for use of the package repository, no identifying information is stored with with your usage contribution.

Parameters

Name Type Description
[$strType = 'stats']stringn/a
[$strSlug = null]stringn/a
[$mxdVersion = null]mixedn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strType 'stats';
$strSlug null;
$mxdVersion null;

//Call the function anonymousStats with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> anonymousStats($strType$strSlug$mxdVersion);