Resource Description for VisionTest

Properties for VisionTest

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
colorBlindness string
notes string
student Student
testDate DateTime

SDK Example for PHP

<?PHP

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

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

$visionTest = VisionTest::retrieve(5433);

$student = $visionTest->getStudent();
$testDate = $visionTest->getTestDate();
$colorBlindness = $visionTest->getColorBlindness();
$notes = $visionTest->getNotes();

 

Related Resources

See also: Student