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(): string

Parameters

There is no parameter available for getAdditional method.

Example

Usually this method called inside a layout file. Here is the basic example for getAdditionalAfter method. Here is the content of col-1.php layout file.

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