Files
alrahma_sunday_school/_chunk1.txt
T
root e81a1832ad
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 49s
Tests / PHPUnit (push) Successful in 1m26s
fix home page display snd styling
2026-09-02 23:15:24 -04:00

26 lines
823 B
Plaintext

class AdministratorController extends BaseController
{
protected $roleModel;
protected $userModel;
protected $userRoleModel;
protected $configModel;
protected $semester;
protected $schoolYear;
protected $staffAttendanceModel;
public function __construct()
{
helper('auth');
$this->roleModel = new RoleModel();
$this->userModel = new UserModel();
$this->configModel = new ConfigurationModel();
$this->userRoleModel = new UserRoleModel();
$this->semester = getSemester();
$this->schoolYear = $this->configModel->getConfig('school_year');
$this->staffAttendanceModel = new StaffAttendanceModel();
}
/**
* Compute all allowed absence dates (future Sundays within Sep..May for the configured school year)
*/