| 1 | <?php |
||
| 11 | class Badge_Generator { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Returns the term count which needs to be shown on ui. |
||
| 15 | * @param $number |
||
| 16 | * |
||
| 17 | * @return int |
||
| 18 | */ |
||
| 19 | public static function get_ui_count( $number ) { |
||
| 29 | |||
| 30 | public static function generate_html( $number ) { |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param $number |
||
| 37 | * |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public static function get_formatted_count_string( $number ) { |
||
| 45 | |||
| 46 | |||
| 47 | } |