YaWK  24.1
Yet another WebKit
bubblus.php
Go to the documentation of this file.
1 <?php
2 // check if db obj exits
3 if (!isset($db) || (empty($db)))
4 { // if not, create new db obj
5  $db = new \YAWK\db();
6 }
7 // check if bubbleus obj is loaded
8 if(!isset($bubblus) || (empty($bubblus)))
9 { // include bubblUS widget class
10  require_once ('classes/bubblus.php');
11  // create bubblUs widget object
12  $bubblus = new \YAWK\WIDGETS\BUBBLUS\MINDMAP\bubblus($db);
13 }
14 // embed bubblUs mindmap
15 $bubblus->init();