Page MenuHomePhorge

ConpherenceRoomSettings.php
No OneTemporary

Size
698 B
Referenced Files
None
Subscribers
None

ConpherenceRoomSettings.php

<?php
final class ConpherenceRoomSettings extends ConpherenceConstants {
const SOUND_RECEIVE = 'receive';
const SOUND_MENTION = 'mention';
const DEFAULT_RECEIVE_SOUND = 'tap';
const DEFAULT_MENTION_SOUND = 'tap'; // Upload a new sound
const DEFAULT_NO_SOUND = 'none';
public static function getSoundMap() {
return array(
'none' => array(
'name' => pht('No Sound'),
'rsrc' => '',
),
'tap' => array(
'name' => pht('Tap'),
'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/tap.mp3'),
),
);
}
public static function getDropdownSoundMap() {
$map = self::getSoundMap();
return ipull($map, 'name');
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Sep 16, 11:23 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
446049
Default Alt Text
ConpherenceRoomSettings.php (698 B)

Event Timeline