Merge branch 'devel' into CC-3174
This commit is contained in:
commit
b998a04c2e
40 changed files with 354 additions and 234 deletions
|
@ -21,6 +21,30 @@ class Application_Model_Show {
|
|||
$show->setDbName($name);
|
||||
Application_Model_RabbitMq::PushSchedule();
|
||||
}
|
||||
|
||||
public function setAirtimeAuthFlag($flag){
|
||||
$show = CcShowQuery::create()->findPK($this->_showId);
|
||||
$show->setDbLiveStreamUsingAirtimeAuth($flag);
|
||||
$show->save();
|
||||
}
|
||||
|
||||
public function setCustomAuthFlag($flag){
|
||||
$show = CcShowQuery::create()->findPK($this->_showId);
|
||||
$show->setDbLiveStreamUsingCustomAuth($flag);
|
||||
$show->save();
|
||||
}
|
||||
|
||||
public function setCustomUsername($username){
|
||||
$show = CcShowQuery::create()->findPK($this->_showId);
|
||||
$show->setDbLiveStreamUser($username);
|
||||
$show->save();
|
||||
}
|
||||
|
||||
public function setCustomPassword($password){
|
||||
$show = CcShowQuery::create()->findPK($this->_showId);
|
||||
$show->setDbLiveStreamPass($password);
|
||||
$show->save();
|
||||
}
|
||||
|
||||
public function getDescription()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue