admin.php 295 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

class Admin {

  private $db;

  public function __construct ($db) {
    $this->db=$db;
  }

  public function isActive() {
    return $this->db->config()['isactive'];
  }

15
16
17
18
19
20
21
22
  public function activeSemester() {
    return 'E';
  }

  public function activeYear() {
    return 2019;
  }

23
}