English
Here is the result obtained to display the information of a user. I use the "users" table as well as the "fields" and "fields_values" tables for additional fields.
I can recover the information but I admit that it is not really simple ...
Français
Voici le résultat obtenu pour afficher les informations d'un utilisateurs. J'utilise la table "users" ainsi que les tables "fields" et "fields_values" pour les champs additionnels.
Je peux récupérer les informations mais j'avoue que ce n'est pas vraiment simple...
Array
(
[cont] => manager
[conn] => joomla-connexion
[event] => utilisateur_aff
[param_id] => 959
[Itemid] => 578
[option] => com_chronoconnectivity6
[view] => connection
)
Array
(
[utilisateur_lire] => Array
(
[log] => Array
(
[0] => SELECT `Utilisateur`.`id` AS `Utilisateur.id`, `Utilisateur`.`name` AS `Utilisateur.name`, `Utilisateur`.`username` AS `Utilisateur.username`, `Champlib`.`label` AS `Champlib.label`, `Champval`.`value` AS `Champval.value` FROM `am_users` AS `Utilisateur` LEFT JOIN `am_fields_values` AS `Champval` ON `Utilisateur`.`id` = `Champval`.`item_id` LEFT JOIN `am_fields` AS `Champlib` ON `Champval`.`field_id` = `Champlib`.`id` WHERE `Utilisateur`.`id` = '959' LIMIT 100;
)
[var] => Array
(
[0] => Array
(
[Utilisateur] => Array
(
[id] => 959
[name] => Jean-Marie GROUD
[username] => jmgroud
)
[Champlib] => Array
(
[label] => Photo
)
[Champval] => Array
(
[value] => Portrait-Jean-Marie-151x183.jpg
)
)
[1] => Array
(
[Utilisateur] => Array
(
[id] => 959
[name] => Jean-Marie GROUD
[username] => jmgroud
)
[Champlib] => Array
(
[label] => Téléphone mobile personnel
)
[Champval] => Array
(
[value] => +33 9 99 99 99 99
)
)
[2] => Array
(
[Utilisateur] => Array
(
[id] => 959
[name] => Jean-Marie GROUD
[username] => jmgroud
)
[Champlib] => Array
(
[label] => Administrateur Chrono
)
[Champval] => Array
(
[value] => 1
)
)
)
)
)
English
I would like to obtain this result directly ... Is it possible and if so, how do I configure the "Read-Data"?
The additional fields would be displayed as a field in the "users" base table.
Français
J'aimerai obtenir directement ce résultat... Est-ce possible et si oui, comment paramétrer le "Read-Data" ?
Les champs additionnels seraient affichés comme un champ de la table de base « users ».
[Utilisateur] => Array
(
[id] => 959
[name] => Jean-Marie GROUD
[username] => jmgroud
[photo] => Portrait-Jean-Marie-151x183.jpg
[telephone-mobile-personnel] => +33 9 99 99 99 99
[administrateur-chrono] => 1
)
« photo », « telephone-mobile-personnel » and « administrateur-chrono » : field « name » from « fields » table.
« Portrait-Jean-Marie-151x183.jpg », « +33 9 99 99 99 99 » and « 1 » : field « value » from « fields_values » table.
Here is the result obtained to display the information of a user. I use the "users" table as well as the "fields" and "fields_values" tables for additional fields.
I can recover the information but I admit that it is not really simple ...
Français
Voici le résultat obtenu pour afficher les informations d'un utilisateurs. J'utilise la table "users" ainsi que les tables "fields" et "fields_values" pour les champs additionnels.
Je peux récupérer les informations mais j'avoue que ce n'est pas vraiment simple...
Array
(
[cont] => manager
[conn] => joomla-connexion
[event] => utilisateur_aff
[param_id] => 959
[Itemid] => 578
[option] => com_chronoconnectivity6
[view] => connection
)
Array
(
[utilisateur_lire] => Array
(
[log] => Array
(
[0] => SELECT `Utilisateur`.`id` AS `Utilisateur.id`, `Utilisateur`.`name` AS `Utilisateur.name`, `Utilisateur`.`username` AS `Utilisateur.username`, `Champlib`.`label` AS `Champlib.label`, `Champval`.`value` AS `Champval.value` FROM `am_users` AS `Utilisateur` LEFT JOIN `am_fields_values` AS `Champval` ON `Utilisateur`.`id` = `Champval`.`item_id` LEFT JOIN `am_fields` AS `Champlib` ON `Champval`.`field_id` = `Champlib`.`id` WHERE `Utilisateur`.`id` = '959' LIMIT 100;
)
[var] => Array
(
[0] => Array
(
[Utilisateur] => Array
(
[id] => 959
[name] => Jean-Marie GROUD
[username] => jmgroud
)
[Champlib] => Array
(
[label] => Photo
)
[Champval] => Array
(
[value] => Portrait-Jean-Marie-151x183.jpg
)
)
[1] => Array
(
[Utilisateur] => Array
(
[id] => 959
[name] => Jean-Marie GROUD
[username] => jmgroud
)
[Champlib] => Array
(
[label] => Téléphone mobile personnel
)
[Champval] => Array
(
[value] => +33 9 99 99 99 99
)
)
[2] => Array
(
[Utilisateur] => Array
(
[id] => 959
[name] => Jean-Marie GROUD
[username] => jmgroud
)
[Champlib] => Array
(
[label] => Administrateur Chrono
)
[Champval] => Array
(
[value] => 1
)
)
)
)
)
English
I would like to obtain this result directly ... Is it possible and if so, how do I configure the "Read-Data"?
The additional fields would be displayed as a field in the "users" base table.
Français
J'aimerai obtenir directement ce résultat... Est-ce possible et si oui, comment paramétrer le "Read-Data" ?
Les champs additionnels seraient affichés comme un champ de la table de base « users ».
[Utilisateur] => Array
(
[id] => 959
[name] => Jean-Marie GROUD
[username] => jmgroud
[photo] => Portrait-Jean-Marie-151x183.jpg
[telephone-mobile-personnel] => +33 9 99 99 99 99
[administrateur-chrono] => 1
)
« photo », « telephone-mobile-personnel » and « administrateur-chrono » : field « name » from « fields » table.
« Portrait-Jean-Marie-151x183.jpg », « +33 9 99 99 99 99 » and « 1 » : field « value » from « fields_values » table.