Aller au code source de ce fichier.
Classes | |
| class | CustomPaletteA |
Variables | |
| $userNode = eZUser::currentUser()->contentObject()->mainNode() | |
| $ini = eZINI::instance() | |
| $user = $ini->variable('DatabaseSettings', 'User') | |
| $passwd = $ini->variable('DatabaseSettings', 'Password') | |
| $host = $ini->variable('DatabaseSettings', 'Server') | |
| $dbname = $ini->variable('DatabaseSettings', 'Database') | |
| $db = ezcDbFactory::create( "mysql://{$user}:{$passwd}@{$host}/{$dbname}" ) | |
| foreach($userNode->children() as $child) foreach($nodes as $k=> $n) | try |
| if($Params['type']!= 'svg') $graph legend | position = ezcGraph::RIGHT |
| $graph options | label = '' |
| $graph legend | portraitSize = .25 |
| $graph | palette = new CustomPaletteA |
| $graph | data ['Access statistics'] = new ezcGraphArrayDataSet($nodes) |
| $db = ezcDbFactory::create( "mysql://{$user}:{$passwd}@{$host}/{$dbname}" ) |
Définition à la ligne 26 du fichier stats-folders.php.
| $dbname = $ini->variable('DatabaseSettings', 'Database') |
Définition à la ligne 20 du fichier stats-folders.php.
| $host = $ini->variable('DatabaseSettings', 'Server') |
Définition à la ligne 19 du fichier stats-folders.php.
| $ini = eZINI::instance() |
Définition à la ligne 16 du fichier stats-folders.php.
| $passwd = $ini->variable('DatabaseSettings', 'Password') |
Définition à la ligne 18 du fichier stats-folders.php.
| $user = $ini->variable('DatabaseSettings', 'User') |
Définition à la ligne 17 du fichier stats-folders.php.
| $userNode = eZUser::currentUser()->contentObject()->mainNode() |
Ce script génère un graphique de consultation des articles par catégorie
Pour générer ce graphique, on doit :
Définition à la ligne 13 du fichier stats-folders.php.
| $graph data['Access statistics'] = new ezcGraphArrayDataSet($nodes) |
Définition à la ligne 85 du fichier stats-folders.php.
| $graph options label = '' |
Définition à la ligne 60 du fichier stats-folders.php.
| $graph palette = new CustomPaletteA |
Définition à la ligne 84 du fichier stats-folders.php.
| $graph legend portraitSize = .25 |
Définition à la ligne 61 du fichier stats-folders.php.
| if ($Params['type']!= 'svg') $graph legend position = ezcGraph::RIGHT |
Définition à la ligne 59 du fichier stats-folders.php.
| foreach ($userNode->children() as $child) foreach ($nodes as $k=> $n) try |
Définition à la ligne 50 du fichier stats-folders.php.
1.8.3.1