ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ilECSUriList.php
Go to the documentation of this file.
1 <?php
2 
18 declare(strict_types=1);
19 
26 {
27  public array $uris = array();
28 
32  public function add(string $a_uri, int $a_link_id): void
33  {
34  $this->uris[$a_link_id] = $a_uri;
35  }
36 
40  public function getLinkIds(): array
41  {
42  return array_keys($this->uris);
43  }
44 
48  public function getUris(): array
49  {
50  return $this->uris;
51  }
52 }
add(string $a_uri, int $a_link_id)
Add uri.
Presentation of ecs uril (http://...campusconnect/courselinks)
getLinkIds()
Get link ids.
getUris()
Get uris.