- 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
getJsFooter Method
The getJsFooter
method will produce output of javascript with their script
tag putJsFooter method.
Basic Usage
Here is the basic usage for getJsFooter
method from SENE_Controller class.
$this->getJsFooter(): void
Parameters
This method has no parameter required.
Example
Usually this method called inside a layout file. Here is the basic example for getJsFooter
method.
Here is the content of col-1.php
layout file.
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
</head>
<body>
...
...
<!-- jQuery, Bootstrap.js, jQuery plugins and Custom JS code from script.json -->
<?php $this->getJsFooter(); ?>
...
<script>
...
</script>
</body>
</html>