for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Implements the abstract methods from RetrieveMediaWidget for TV show items
*
* @author Sam Stenvall <[email protected]>
* @copyright Copyright © Sam Stenvall 2013-
* @license https://www.gnu.org/licenses/gpl.html The GNU General Public License v3.0
*/
class RetrieveTVShowWidget extends RetrieveMediaWidget
{
protected function getLogMessage()
/* @var $episode Episode */
$episode = $this->details;
return '"'.Yii::app()->user->name.'" streamed/downloaded "'.$episode->showtitle.' - '.$episode->getDisplayName().'"';
}
protected function getPlayListAction()
return array('getEpisodePlaylist');