update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
27
www/analytics/core/Plugin/RequestProcessors.php
Normal file
27
www/analytics/core/Plugin/RequestProcessors.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* Piwik - free/libre analytics platform
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugin;
|
||||
|
||||
use Piwik\Container\StaticContainer;
|
||||
|
||||
class RequestProcessors
|
||||
{
|
||||
public function getRequestProcessors()
|
||||
{
|
||||
$manager = Manager::getInstance();
|
||||
$processors = $manager->findMultipleComponents('Tracker', 'Piwik\\Tracker\\RequestProcessor');
|
||||
|
||||
$instances = array();
|
||||
foreach ($processors as $processor) {
|
||||
$instances[] = StaticContainer::get($processor);
|
||||
}
|
||||
|
||||
return $instances;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue