getAdditional method

The getAdditional method is used to retrieve the set array values from theme.json to display in the HTML head tag. This method is usually called in a layout file or in its layout component.

Basic Usage

Here is the basic usage for getAdditional method from SENE_Controller class.

$this->getAdditional(): void

Parameters

This method does not require any parameter.

Example

Usually this method called inside a layout file. Here is the basic example for getAdditional method that implemented on col-1.php layout file.

<!DOCTYPE html>
<html>
<head>
  ...
  <?php $this->getAdditional(); ?>
  ...
</head>
<body>
  ...
</body>
</html>