Resource Description for BehaviouralIncident

Properties for BehaviouralIncident

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
behaviour Behaviour
event mixed
incidentDatetime DateTime
incidentName string
location mixed
narrative string
resolvedDatetime DateTime
severity string

SDK Example for PHP

<?PHP

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

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

$behaviouralIncident = BehaviouralIncident::retrieve(5433);

$incidentName = $behaviouralIncident->getIncidentName();
$narrative = $behaviouralIncident->getNarrative();
$incidentDatetime = $behaviouralIncident->getIncidentDatetime();
$severity = $behaviouralIncident->getSeverity();
$event = $behaviouralIncident->getEvent();
$location = $behaviouralIncident->getLocation();

 

Related Resources

See also: Behaviour