ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ReservationManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
31{
35
36 public function __construct(
40 ) {
41 $this->data = $data;
42 $this->repo = $repo;
43 $this->domain = $domain;
44 }
45
46 public function getAvailableNr(
47 int $object_id,
48 int $from,
49 int $to
50 ): int {
51 $counter = \ilBookingReservation::getAvailableObject(array($object_id), $from, $to, false, true);
52 return (int) $counter[$object_id];
53 }
54}
Author: Alexander Killing killing@leifos.de
__construct(InternalDataService $data, InternalRepoService $repo, InternalDomainService $domain)
return true
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$counter