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