YaWK
24.1
Yet another WebKit
|
Embed a html/javascript code snippet. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
init () | |
Init and load custom html code. More... | |
Public Attributes | |
$customHtmlCode = '' | |
$widget = '' | |
Embed a html/javascript code snippet.
Embed a custom html code snippet.
Sometimes you would like to embed (more or less) small piece of code in any position. This widget helps you to achieve this. You can enter any valid html code. Even if it is not recommended, you are able to add a piece of javascript here too. This Widget features the combination of summernote and codemirror to give you the best code editing experience.
Definition at line 17 of file custom_html.php.
YAWK\WIDGETS\CUSTOM_HTML\CODE\customHtml::__construct | ( | $db | ) |
Load all widget settings from database and fill object.
object | $db | Database Object |
Load all widget settings on object init.
Definition at line 29 of file custom_html.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\CUSTOM_HTML\CODE\customHtml::init | ( | ) |
Init and load custom html code.
use this method to run the clock
Definition at line 43 of file custom_html.php.
References YAWK\WIDGETS\CUSTOM_HTML\CODE\customHtml\$customHtmlCode.
YAWK\WIDGETS\CUSTOM_HTML\CODE\customHtml::$customHtmlCode = '' |
string | Custom HTML Code |
Definition at line 22 of file custom_html.php.
Referenced by YAWK\WIDGETS\CUSTOM_HTML\CODE\customHtml\init().
YAWK\WIDGETS\CUSTOM_HTML\CODE\customHtml::$widget = '' |
object | global widget object data |
Definition at line 20 of file custom_html.php.