Resource Description for Aspect

Properties for Aspect

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
active bool
aspectDataType string
aspectName string
aspectSet AspectSet
aspectType string
code string
dataOrder int
gradeSet GradeSet
markMaxValue float
markMinValue float
scaleDirection string

SDK Example for PHP

<?PHP

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

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

$aspect = Aspect::retrieve(5433);

$code = $aspect->getCode();
$active = $aspect->getActive();
$dataOrder = $aspect->getDataOrder();
$aspectSet = $aspect->getAspectSet();
$aspectName = $aspect->getAspectName();
$aspectType = $aspect->getAspectType();
$aspectDataType = $aspect->getAspectDataType();
$gradeSet = $aspect->getGradeSet();
$markMinValue = $aspect->getMarkMinValue();
$markMaxValue = $aspect->getMarkMaxValue();
$scaleDirection = $aspect->getScaleDirection();

 

Related Resources

See also: AspectSet, GradeSet