date.chapril.org-framadate/app/classes/Framadate/Services/SuperAdminService.php
2015-01-06 23:52:52 +01:00

29 lines
490 B
PHP

<?php
namespace Framadate\Services;
use Framadate\FramaDB;
/**
* The class provides action for application administrators.
*
* @package Framadate\Services
*/
class SuperAdminService {
private $connect;
function __construct(FramaDB $connect) {
$this->connect = $connect;
}
/**
* Return the list of all polls.
*
* @return array All the polls
*/
public function findAllPolls() {
return $this->connect->findAllPolls();
}
}