Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
S
stats-facil
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de conteneurs
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
facil
stats-facil
Validations
1da6f1f0
Valider
1da6f1f0
rédigé
11 years ago
par
diosmosis
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Documentation tweaks and fix to visitor profile widget bug.
parent
77854c4f
Branches
Branches contenant la validation
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
2
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
core/Archive.php
+8
-4
8 ajouts, 4 suppressions
core/Archive.php
plugins/Live/javascripts/visitorProfile.js
+1
-1
1 ajout, 1 suppression
plugins/Live/javascripts/visitorProfile.js
avec
9 ajouts
et
5 suppressions
core/Archive.php
+
8
−
4
Voir le fichier @
1da6f1f0
...
...
@@ -17,9 +17,12 @@ use Piwik\DataAccess\ArchiveSelector;
use
Piwik\Period\Range
;
/**
* The **Archive** class is used to query archive data for a set of sites, a set of
* periods and a segment. If archive data is not found, this class will initiate the
* archiving process. [1]
* The **Archive** class is used to query archive data.
* @see Segment
* You can use **Archive** instances to get archive data for one or more sites and
* for one or more periods. A Segment can also be used
*
* If archive data is not found, this class will initiate the archiving process. [1](#footnote-1)
*
* **Archive** instances must be created using the [build](#build) factory method;
* they cannot be constructed.
...
...
@@ -27,7 +30,7 @@ use Piwik\Period\Range;
* You can search for metrics (such as `nb_visits`) using the [getNumeric](#getNumeric) and
* [getDataTableFromNumeric](#getDataTableFromNumeric) methods. You can search for
* reports using the [getBlob](#getBlob), [getDataTable](#getDataTable) and
* [getDataTableExpanded](#getDataTableExpanded).
* [getDataTableExpanded](#getDataTableExpanded)
methods
.
*
* If you're creating an API that returns report data, you may want to use the
* [getDataTableFromArchive](#getDataTableFromArchive) helper function.
...
...
@@ -94,6 +97,7 @@ use Piwik\Period\Range;
* $archive = Archive::build($idSite = 1, $period = 'range', $date = '2013-03-15,2013-03-20');
* $dataTable = $archive->getDataTableFromNumeric(array('nb_visits', 'nb_actions'));
*
* <a name="footnote-1"></a>
* [1]: The archiving process will not be launched if browser archiving is disabled
* and the current request came from a browser (and not the archive.php cron
* script).
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
plugins/Live/javascripts/visitorProfile.js
+
1
−
1
Voir le fichier @
1da6f1f0
...
...
@@ -262,7 +262,7 @@
if
(
this
.
_inPopover
())
{
broadcast
.
propagateNewPopoverParameter
(
'
visitorProfile
'
,
idVisitor
);
}
else
if
(
this
.
_inWidget
())
{
this
.
$element
.
closest
(
'
[widgetid]
'
).
dashboardWidget
(
'
reload
'
,
false
,
true
,
{
idV
isitor
:
idVisitor
});
this
.
$element
.
closest
(
'
[widgetid]
'
).
dashboardWidget
(
'
reload
'
,
false
,
true
,
{
v
isitor
Id
:
idVisitor
});
}
},
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter