LabServiceInterface.php 900 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
<?php
/**
 * gredu_labs
 * 
 * @link https://github.com/eellak/gredu_labs for the canonical source repository
 * @copyright Copyright (c) 2008-2015 Greek Free/Open Source Software Society (https://gfoss.ellak.gr/)
 * @license GNU GPLv3 http://www.gnu.org/licenses/gpl-3.0-standalone.html
 */

10
namespace GrEduLabs\Schools\Service;
11 12 13 14

interface LabServiceInterface
{
    public function createLab(array $data);
15
    public function updateLab(array $data, $id);
16 17
    public function getLabById($id);
    public function getLabsBySchoolId($id);
kanellov's avatar
kanellov committed
18
    public function getLabForSchool($school_id, $id);
Vassilis Kanellopoulos's avatar
Vassilis Kanellopoulos committed
19
    public function removeLab($id, $school_id = null);
kanellov's avatar
kanellov committed
20 21

    public function removeLabAttachment($lab_id);
22

23 24
    public function getLessons();
    public function getLessonsByLabId($id);
25 26 27 28 29

    public function getLabTypes();

    public function getHasNetworkValues();
    public function getHasServerValues();
30
}