[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class ConpherenceSettings extends ConpherenceConstants { 4 5 const EMAIL_ALWAYS = 0; 6 const NOTIFICATIONS_ONLY = 1; 7 8 public static function getHumanString($constant) { 9 $string = pht('Unknown setting.'); 10 11 switch ($constant) { 12 case self::EMAIL_ALWAYS: 13 $string = pht('Email me every update.'); 14 break; 15 case self::NOTIFICATIONS_ONLY: 16 $string = pht('Notifications only.'); 17 break; 18 } 19 20 return $string; 21 } 22 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |