Alternc  latest
Alternc logiel libre pour l'hébergement
piwik_addaccount.php File Reference

Go to the source code of this file.

Variables

 $userslist = $piwik->users_list()
 Add a piwik account using piwik's API. More...
 
 $quotapiwik = $quota->getquota('piwik')
 
if(!($quotapiwik['t'] > 0 &&count($userslist)< 3)) $fields
 
 if ( $piwik->user_add( $account_name, $account_mail))
 

Variable Documentation

◆ $fields

if (!( $quotapiwik[ 't'] > 0 &&count( $userslist)< 3)) $fields
Initial value:
= array (
"account_name" => array ("post", "string", ""),
"account_mail" => array ("post", "string", ""),
)

Definition at line 35 of file piwik_addaccount.php.

◆ $quotapiwik

$quotapiwik = $quota->getquota('piwik')

Definition at line 29 of file piwik_addaccount.php.

◆ $userslist

$userslist = $piwik->users_list()

Add a piwik account using piwik's API.

Definition at line 28 of file piwik_addaccount.php.

Referenced by m_piwik\site_add().

◆ if

if($piwik->user_add($account_name, $account_mail)) (   $piwik-> $account_name, $account_mail)

Definition at line 41 of file piwik_addaccount.php.