Resource Description for Tagging

Properties for Tagging

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
endDate DateTime
link1 mixed
link2 mixed
startDate DateTime
tag Tag
taggedObject mixed

SDK Example for PHP

<?PHP

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

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

$tagging = Tagging::retrieve(5433);

$tag = $tagging->getTag();
$taggedObject = $tagging->getTaggedObject();
$startDate = $tagging->getStartDate();
$endDate = $tagging->getEndDate();
$link1 = $tagging->getLink1();
$link2 = $tagging->getLink2();

 

Related Resources

See also: Tag