setKeyword method

setKeyword method is for set meta description value for a page, this method only suitable with getKeyword method.

Basic Usage

The basic usage for setKeyword method is:

setKeyword(string $keyword): $this

Parameters

setKeyword method has 1 required parameter.

$keyword

This parameter value allowed to set the meta description for a page

Example Usage

Here is the full example of setKeyword method.

<?php
class Blog extends SENE_Controller {
  public function __construct(){
    parent::__construct();
  }
  public function index(){
    ...
    $this->setKeyword('Seme Framework documentation');
    ...
  }
}