CC-2110 : Soundcloud file metadata
adding a users function which will prob be used for metadata... when I see what's needed.
This commit is contained in:
parent
37a4d7bce4
commit
8c522352d7
|
@ -58,6 +58,24 @@ class Show {
|
||||||
$show->setDbBackgroundColor($backgroundColor);
|
$show->setDbBackgroundColor($backgroundColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getHosts()
|
||||||
|
{
|
||||||
|
global $CC_DBC;
|
||||||
|
|
||||||
|
$sql = "SELECT first_name, last_name
|
||||||
|
FROM cc_show_hosts LEFT JOIN cc_subjs ON cc_show_hosts.subjs_id = cc_subjs.id
|
||||||
|
WHERE show_id = {$this->_showId}";
|
||||||
|
|
||||||
|
$hosts = $CC_DBC->GetAll($sql);
|
||||||
|
|
||||||
|
$res = array();
|
||||||
|
foreach($hosts as $host) {
|
||||||
|
$res[] = $host['first_name']." ".$host['last_name'];
|
||||||
|
}
|
||||||
|
|
||||||
|
return $res;
|
||||||
|
}
|
||||||
|
|
||||||
public function cancelShow($day_timestamp)
|
public function cancelShow($day_timestamp)
|
||||||
{
|
{
|
||||||
global $CC_DBC;
|
global $CC_DBC;
|
||||||
|
|
Loading…
Reference in New Issue