Resource Description for AttendanceRegisterType

Properties for AttendanceRegisterType

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
active bool
attendanceRegisterTypeName string
code string
dataOrder int
eventObjectTypeId int
isAfternoon bool
isMorning bool

SDK Example for PHP

<?PHP

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

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

$attendanceRegisterType = AttendanceRegisterType::retrieve(5433);

$code = $attendanceRegisterType->getCode();
$active = $attendanceRegisterType->getActive();
$dataOrder = $attendanceRegisterType->getDataOrder();
$attendanceRegisterTypeName = $attendanceRegisterType->getAttendanceRegisterTypeName();
$isMorning = $attendanceRegisterType->getIsMorning();
$isAfternoon = $attendanceRegisterType->getIsAfternoon();