Main.php 317 Bytes
Newer Older
Mindiell's avatar
Mindiell committed
1
2
3
4
<?php

class Main extends Controller {
    /*
Mindiell's avatar
Mindiell committed
5
6
7
8
9
     * Home page
     * Presents campaign information and a random Contact
     */
    function home($f3,$args) {
        $f3->set('campaign', Api::get_campaign());
10
        $f3->set('contact', Api::get_contact());
Mindiell's avatar
Mindiell committed
11
12
13
14
        $f3->set('block_content','home.html');
    }

};