public static function getDimensions(Plugin $plugin)
    {
        $dimensions = $plugin->findMultipleComponents('Columns', '\\Piwik\\Plugin\\Dimension\\VisitDimension');
        $instances  = array();

        foreach ($dimensions as $dimension) {
            $instances[] = new $dimension();
        }

        return $instances;
    }
public static function getDimensions(Plugin $plugin)
    {
        $dimensions = $plugin->findMultipleComponents('Columns', '\\Piwik\\Plugin\\Dimension\\VisitDimension');
        $instances  = array();

        foreach ($dimensions as $dimension) {
            $instances[] = new $dimension();
        }

        return $instances;
    }
public static function getDimensions ( Plugin $ plugin ) { $ dimensions = $ plugin -> findMultipleComponents ( 'Columns' , '\\Piwik\\Plugin\\Dimension\\VisitDimension' ) ; $ instances = array ( ) ; foreach ( $ dimensions as $ dimension ) { $ instances [ ] = new $ dimension ( ) ; } return $ instances ; }
Get all visit dimensions that are defined by the given plugin.
@param Plugin $plugin
@return VisitDimension[]
@ignore
Get all visit dimensions that are defined by the given plugin .