Example #1
0
<?php

$hello = new HelloWorld();
$hello->hello();
$hello->create_tab();
/**  This is my first file */
class HelloWorld
{
    function __construct()
    {
    }
    function create_tab()
    {
    }
    function hello()
    {
        die(__METHOD__);
        // something is bad here.
    }
    /**
     * Create account for corvin.
     * @param type $username
     */
    function create_account($username = "******")
    {
        echo "created account for {$username}";
    }
    /**
     * Related to issue MFP-8 Administration console.
     */
    function create_console()