Resource Description for DocumentHtmlTemplate

Properties for DocumentHtmlTemplate

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
documentLayout DocumentLayout
templateHtml string
templateName string
templateType string

SDK Example for PHP

<?PHP

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

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

$documentHtmlTemplate = DocumentHtmlTemplate::retrieve(5433);

$templateName = $documentHtmlTemplate->getTemplateName();
$templateType = $documentHtmlTemplate->getTemplateType();
$documentLayout = $documentHtmlTemplate->getDocumentLayout();
$templateHtml = $documentHtmlTemplate->getTemplateHtml();

 

Related Resources

See also: DocumentLayout