array( 'name' => pht('No Sound'), 'rsrc' => '', ), 'alert' => array( 'name' => pht('Alert'), 'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/alert.mp3'), ), 'bing' => array( 'name' => pht('Bing'), 'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/bing.mp3'), ), 'pock' => array( 'name' => pht('Pock'), 'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/pock.mp3'), ), 'tap' => array( 'name' => pht('Tap'), 'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/tap.mp3'), ), 'ting' => array( 'name' => pht('Ting'), 'rsrc' => celerity_get_resource_uri('/rsrc/audio/basic/ting.mp3'), ), ); } public static function getDropdownSoundMap() { $map = self::getSoundMap(); return ipull($map, 'name'); } public static function getThemeMap() { return array( self::COLOR_LIGHT => pht('Light'), self::COLOR_BLUE => pht('Blue'), self::COLOR_INDIGO => pht('Indigo'), self::COLOR_PEACH => pht('Peach'), self::COLOR_GREEN => pht('Green'), self::COLOR_PINK => pht('Pink'), ); } public static function getThemeClass($theme) { return 'conpherence-theme-'.$theme; } }