Ejemplo n.º 1
0
 public function get_instance()
 {
     if (!isset($this->{$instance})) {
         Munabo::$instance = new Munabo();
     }
     return Munabo::$instance;
 }
Ejemplo 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();
Ejemplo 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();