Resource Description for TrainingCourse

Properties for TrainingCourse

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
courseFees float
organizer AwardingOrganization Company MedicalInstitution EducationalInstitution University
otherCosts float
trainingCourseDescription string
trainingCourseTitle string

SDK Example for PHP

<?PHP

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

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

$trainingCourse = TrainingCourse::retrieve(5433);

$trainingCourseTitle = $trainingCourse->getTrainingCourseTitle();
$trainingCourseDescription = $trainingCourse->getTrainingCourseDescription();
$organizer = $trainingCourse->getOrganizer();
$courseFees = $trainingCourse->getCourseFees();
$otherCosts = $trainingCourse->getOtherCosts();

 

Related Resources