public function get_total_days($month, $year) { $this->CI->load->helper('date'); return days_in_month($month, $year); }