Merge branch '2.0'
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / stat / UserStatDailyHandler.class.php
1 <?php
2 namespace wcf\system\stat;
3
4 /**
5 * Stat handler implementation for user stats.
6 *
7 * @author Marcel Werk
8 * @copyright 2001-2014 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf
11 * @subpackage system.stat
12 * @category Community Framework
13 */
14 class UserStatDailyHandler extends AbstractStatDailyHandler {
15 /**
16 * @see \wcf\system\stat\IStatDailyHandler::getData()
17 */
18 public function getData($date) {
19 return array(
20 'counter' => $this->getCounter($date, 'wcf'.WCF_N.'_user', 'registrationDate'),
21 'total' => $this->getTotal($date, 'wcf'.WCF_N.'_user', 'registrationDate')
22 );
23 }
24 }