Alternc  3.2
Alternc logiel libre pour l'h├ębergement
 All Data Structures Namespaces Files Functions Variables Pages
piwik_useradmin.php File Reference

Go to the source code of this file.

Variables

 $fields
 $user_piwik_sites = array_flip($user_piwik_sites)
 $user_piwik_users = array()
 $raw_sites = $piwik->get_site_list()
 $piwik_sites = array()
foreach($raw_sites AS $site) $raw_access = $piwik->get_site_access($user_name)
 $piwik_user_sites = array_intersect_ukey($piwik_sites, $user_piwik_sites, "strcmp")
 $available_user_sites = $piwik_user_sites
 foreach ($raw_access AS $access)
 if (count($available_user_sites)>0)

Variable Documentation

$available_user_sites = $piwik_user_sites

Definition at line 116 of file piwik_useradmin.php.

$fields
Initial value:
array (
"user_name" => array ("request", "string", FALSE),
"site_id" => array ("post", "integer", -1),
"right" => array ("post", "string", FALSE),
)

Definition at line 33 of file piwik_useradmin.php.

$piwik_sites = array()

Definition at line 108 of file piwik_useradmin.php.

$piwik_user_sites = array_intersect_ukey($piwik_sites, $user_piwik_sites, "strcmp")

Definition at line 115 of file piwik_useradmin.php.

foreach ($raw_sites AS $site) $raw_access = $piwik->get_site_access($user_name)

Definition at line 113 of file piwik_useradmin.php.

$raw_sites = $piwik->get_site_list()

Definition at line 107 of file piwik_useradmin.php.

$user_piwik_sites = array_flip($user_piwik_sites)

Definition at line 89 of file piwik_useradmin.php.

$user_piwik_users = array()

Definition at line 91 of file piwik_useradmin.php.

foreach($raw_access AS $access)

Definition at line 119 of file piwik_useradmin.php.

if(count($available_user_sites)>0)

Definition at line 125 of file piwik_useradmin.php.