YaWK  24.1
Yet another WebKit
contentAnimator.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 contentAnimator obj is loaded
8 if(!isset($contentAnimator) || (empty($contentAnimator)))
9 {
10  // if not, include contentAnimator widget class
11  require_once ('classes/contentAnimator.php');
12  // create contentAnimator widget object
13  $contentAnimator = new \YAWK\WIDGETS\CONTENTANIMATOR\ANIMATE\contentAnimator($db);
14 }
15 // init current contentAnimator
16 $contentAnimator->init();