changed how shows saved in database to make keeping track of host permissions easier.
This commit is contained in:
parent
b10c2cfe2a
commit
d94063fbe4
30 changed files with 6527 additions and 812 deletions
|
@ -71,12 +71,26 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
$show = new Show($userInfo->type);
|
||||
|
||||
$this->view->overlap = $show->moveShow($showId, $deltaDay, $deltaMin);
|
||||
$overlap = $show->moveShow($showId, $deltaDay, $deltaMin);
|
||||
|
||||
if(isset($overlap))
|
||||
$this->view->overlap = $overlap;
|
||||
}
|
||||
|
||||
public function resizeShowAction()
|
||||
{
|
||||
// action body
|
||||
$deltaDay = $this->_getParam('day');
|
||||
$deltaMin = $this->_getParam('min');
|
||||
$showId = $this->_getParam('showId');
|
||||
|
||||
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
|
||||
|
||||
$show = new Show($userInfo->type);
|
||||
|
||||
$overlap = $show->resizeShow($showId, $deltaDay, $deltaMin);
|
||||
|
||||
if(isset($overlap))
|
||||
$this->view->overlap = $overlap;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue