/** * Returns a label from an array of months * * @param int $month * @return string */ public static function get_month_label($month) { static $months; if (empty($months)) { $months = owa_lib::months(); } return $months[$month]['label']; }