Resource Description for StaffAttendanceMark

Properties for StaffAttendanceMark

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
active bool
attendanceMark string
code string
dataOrder int
isDefaultAbsent bool
isDefaultLate bool
isDefaultPresent bool
isLegalHolidayLeave bool
isLegalIllness bool
isLegalMedicalLeave bool
isLegalPresent bool
isPhysicalAbsent bool
isPhysicalLate bool
isPhysicalNotRequired bool
isPhysicalPresent bool
markDescription string
markShortDescription string

SDK Example for PHP

<?PHP

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

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

$staffAttendanceMark = StaffAttendanceMark::retrieve(5433);

$code = $staffAttendanceMark->getCode();
$active = $staffAttendanceMark->getActive();
$dataOrder = $staffAttendanceMark->getDataOrder();
$attendanceMark = $staffAttendanceMark->getAttendanceMark();
$markDescription = $staffAttendanceMark->getMarkDescription();
$markShortDescription = $staffAttendanceMark->getMarkShortDescription();
$isDefaultPresent = $staffAttendanceMark->getIsDefaultPresent();
$isDefaultAbsent = $staffAttendanceMark->getIsDefaultAbsent();
$isDefaultLate = $staffAttendanceMark->getIsDefaultLate();
$isLegalPresent = $staffAttendanceMark->getIsLegalPresent();
$isLegalHolidayLeave = $staffAttendanceMark->getIsLegalHolidayLeave();
$isLegalMedicalLeave = $staffAttendanceMark->getIsLegalMedicalLeave();
$isLegalIllness = $staffAttendanceMark->getIsLegalIllness();
$isPhysicalPresent = $staffAttendanceMark->getIsPhysicalPresent();
$isPhysicalLate = $staffAttendanceMark->getIsPhysicalLate();
$isPhysicalAbsent = $staffAttendanceMark->getIsPhysicalAbsent();
$isPhysicalNotRequired = $staffAttendanceMark->getIsPhysicalNotRequired();