Exemple #1
0
 public function indexAction()
 {
     $most_commits = get_projects_by_commits();
     $most_pr = get_projects_by_pr();
     $latest = load_latest_projects("id desc");
     $suscribers = list_suscriptor("id ");
     $langs = get_languages_by_ranking();
     $msgs = list_web_site_message();
     $this->render(array("commits" => $most_commits, "most_pr" => $most_pr, "latest" => $latest, "langs" => $langs, "messages" => $msgs, "suscribers" => $suscribers));
 }
Exemple #2
0
 public function indexAction()
 {
     $latest = load_latest_projects();
     $this->render(array("new_projects" => $latest, "suscriptor" => new Suscriptor()));
 }