for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Audio source flag
*
* @author Stefan Spühler <[email protected]>
* @copyright Copyright © Stefan Spühler 2013-
* @license https://www.gnu.org/licenses/gpl.html The GNU General Public License v3.0
*/
class MediaFlagAudioSource extends MediaFlag
{
protected function getIcon()
if (preg_match('/\.MD\.|\.mic\.dubbed\./i', $this->file))
return 'MD';
else if (preg_match('/\.LD\.|\.line\.dubbed\./i', $this->file))
return 'LD';
else
return false;
}