Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
66 | public static function getProfileBackground() |
||
67 | { |
||
68 | $now = Time::now(); |
||
69 | $day = $now->day; |
||
70 | |||
71 | if (isset(static::$_daysReferences[$day])) { |
||
72 | return static::$_prefix . static::$_daysReferences[$day] . static::$_extension; |
||
73 | } |
||
74 | |||
75 | return static::$_prefix . '1' . static::$_extension; |
||
76 | } |
||
77 | } |
||
78 |