public static function get_view($year = 0, $month = 0, $day = 0)
 {
     $object = new self();
     $object->init();
     if ($year) {
         $object->set_year($year);
     }
     if ($month) {
         $object->set_month($month);
     }
     if ($day) {
         $object->set_day($day);
     }
     $object->build_view(AppContext::get_request());
     return $object->view;
 }
 public static function get_view($is_mini = false, $year = 0, $month = 0)
 {
     $object = new self();
     $object->init(AppContext::get_request());
     if ($is_mini) {
         $object->set_mini_calendar();
     }
     if ($year) {
         $object->set_year($year);
     }
     if ($month) {
         $object->set_month($month);
     }
     $object->build_view(AppContext::get_request());
     return $object->view;
 }