Resource Description for Term

Properties for Term

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicYear AcademicYear
code string
endDate DateTime
shortTermName string
startDate DateTime
termName string

SDK Example for PHP

<?PHP

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

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

$term = Term::retrieve(5433);

$academicYear = $term->getAcademicYear();
$termName = $term->getTermName();
$shortTermName = $term->getShortTermName();
$code = $term->getCode();
$startDate = $term->getStartDate();
$endDate = $term->getEndDate();
$timetableCycleOffset = $term->getTimetableCycleOffset();

 

Related Resources

See also: AcademicYear