Object: InvPublicController

InvPublicController is the controller used by the public website when displaying a dotAdmin content page. When writing code for website templates, $this refers to an instance of the InvPublicController class. The methods and properties can be accessed therein.

Example

<html>
<body>
    <title><?php echo htmlspecialchars($this-document->getValue('document_title')) ?></title>
</body>
    <h1><?php echo $this-document->getHTML('document_title') ?></h1>
    <?php echo $this-document->getHTML('document__content') ?>
    <?php $nav = $this->getNodeNav($this-document->currentnode->)
</html>

Methods

Properties

Contact Us

Address: 22a Fishergate York, YO10 4AB · Tel: 01904 636677 · Email: info@dotadmin.com