- Seme Framework
- version 4.0.3
- Requirements
- Download & Install
- Configuration
- Tutorials
- URI Routing
- Constants
- Global Variables
- Model
- View
- Controller
- cdn_url
- config
- constructor
- getAdditional
- getAdditionalBefore
- getAdditionalAfter
- getAuthor
- getCanonical
- getContentLanguage
- getDescription
- getIcon
- getJsContent
- getJsFooter
- getJsReady
- getKey
- getKeyword
- getLang
- getRobots
- getShortcutIcon
- getThemeElement
- getTitle
- input
- lib
- load
- loadCss
- loadLayout
- putThemeContent
- putJsContent
- putJsFooter
- putJsReady
- render
- resetThemeContent
- session
- setAuthor
- setCanonical
- setContentLanguage
- setDescription
- setIcon
- setKey
- setKeyword
- setLang
- setShortcutIcon
- setTheme
- setTitle
- Library
- CLI (command line interface)
- Core
- Issue
- Deployment
setShortcutIcon method
setShortcutIcon method is for set meta description value for a page, this method only suitable with getShortcutIcon
method.
Basic Usage
The basic usage for setShortcutIcon method is:
setShortcutIcon(string $icon_location): $this
Parameters
setShortcutIcon method has 1 required parameter.
$icon_location
This parameter value allowed to set the icon location.
Example Usage
Here is the full example of setShortcutIcon
method.
<?php
class Blog extends SENE_Controller {
public function __construct(){
parent::__construct();
}
public function index(){
...
$this->setShortcutIcon('favicon.png');
...
}
}