Esempio n. 1
0
 public function get_instance()
 {
     if (!isset($this->{$instance})) {
         Munabo::$instance = new Munabo();
     }
     return Munabo::$instance;
 }
Esempio n. 2
0
<?php

/**
 * Created by PhpStorm.
 * User: munabste
 * Date: 8/25/2015
 * Time: 3:34 PM
 */
include 'Munabo.php';
session_start();
$name;
if (empty($_POST['name'])) {
    $_POST['name'] = '';
}
$me = new Munabo($_POST['name']);
$me->mk_content();
Esempio n. 3
0
<?php

/**
 * Created by PhpStorm.
 * User: munabste
 * Date: 8/25/2015
 * Time: 3:36 PM
 */
include 'Munabo.php';
session_start();
$app = new Munabo(1);
$app->display_app();