original_string: public static function coming_events($from = false)
      {
          $time = ($from ? strtotime($from) : mktime(0, 0, 0, date('m'), date('d'), date('Y')));
          $sql = "(StartDateTime >= '".date('Y-m-d', $time)." 00:00:00')";
          $events = PublicEvent::get()->where($sql);
          return $events;
      }
code: public static function coming_events($from = false)
      {
          $time = ($from ? strtotime($from) : mktime(0, 0, 0, date('m'), date('d'), date('Y')));
          $sql = "(StartDateTime >= '".date('Y-m-d', $time)." 00:00:00')";
          $events = PublicEvent::get()->where($sql);
          return $events;
      }
code_tokens: public static function coming_events ( $ from = false ) { $ time = ( $ from ? strtotime ( $ from ) : mktime ( 0 , 0 , 0 , date ( 'm' ) , date ( 'd' ) , date ( 'Y' ) ) ) ; $ sql = "(StartDateTime >= '" . date ( 'Y-m-d' , $ time ) . " 00:00:00')" ; $ events = PublicEvent :: get ( ) -> where ( $ sql ) ; return $ events ; }
docstring: Get all coming public events
docstring_tokens: Get all coming public events