Resource Description for TimetableSlot

Properties for TimetableSlot

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicYear AcademicYear
dayOfCycle int
dayOfWeek int
effectiveDate DateTime
endDate DateTime
endTime DateTime
frequency string
startTime DateTime
status string
termTimeOnly bool
timetabledObject mixed

SDK Example for PHP

<?PHP

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

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

$timetableSlot = TimetableSlot::retrieve(5433);

$academicYear = $timetableSlot->getAcademicYear();
$timetabledObject = $timetableSlot->getTimetabledObject();
$location = $timetableSlot->getLocation();
$dayOfCycle = $timetableSlot->getDayOfCycle();
$startTime = $timetableSlot->getStartTime();
$endTime = $timetableSlot->getEndTime();
$effectiveDate = $timetableSlot->getEffectiveDate();
$endDate = $timetableSlot->getEndDate();
$frequency = $timetableSlot->getFrequency();
$status = $timetableSlot->getStatus();

 

Related Resources

See also: AcademicYear