Resource Description for StudentAttendancePattern

Properties for StudentAttendancePattern

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicYear AcademicYear
attendancePattern AttendancePattern
endDate DateTime
startDate DateTime
student Student

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\StudentAttendancePattern;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$studentAttendancePattern = StudentAttendancePattern::retrieve(5433);

$academicYear = $studentAttendancePattern->getAcademicYear();
$student = $studentAttendancePattern->getStudent();
$attendancePattern = $studentAttendancePattern->getAttendancePattern();
$startDate = $studentAttendancePattern->getStartDate();
$endDate = $studentAttendancePattern->getEndDate();

 

Related Resources