function pageController()
{
    $adjectives = ['Tired', 'Hungry', 'Tall', 'Pretty', 'Shiny', 'Dull', 'Energetic', 'Clumsy', 'Bored', 'Anxious'];
    $nouns = ['Students', 'Teams', 'Vehicle', 'Hippos', 'Movie', 'Desk', 'Gems', 'Beast', 'Hero', 'Villain'];
    $data = [];
    $data['serverName'] = generateServerName($nouns, $adjectives);
    return $data;
}
Esempio n. 2
0
function pageController()
{
    $nouns = ['turkeysub', 'sealteam6', 'yogibear', 'booboo'];
    $adjectives = ['yellow', 'strong', 'fuetre', 'concentrado', 'amable'];
    $data = [];
    $data['title'] = "Server Name Generator";
    $data['serverName'] = generateServerName($nouns, $adjectives);
    return $data;
}
function pageController()
{
    $nouns = ['hobbitses', 'lettuce', 'elephant', 'custard', 'beard', 'monkey', 'shadow', 'planet', 'waterfall', 'sandwich', 'nerf-herder', 'airplane', 'apparatus', 'brothers', 'creature', 'cup', 'goldfish'];
    $adjectives = ['alluring', 'filthy', 'scruffy-looking', 'wild', 'vivacious', 'brave', 'clumsy', 'diligent', 'mysterious', 'zany', 'nasty', 'wicked', 'acrobatic', 'acidic', 'academic', 'advanced', 'amazing'];
    $data = [];
    $data['title'] = "Server Name Generator";
    $data['serverName'] = generateServerName($nouns, $adjectives);
    return $data;
}
function pageController()
{
    $data['title'] = "Riff Raff's Server Name Generator";
    $nouns = ['Bandana', 'Shades', 'Bed Springs', 'Bed Sheets', 'Boxers', 'Lamborghini', 'Versace', 'Pinky Ring', 'Houston Rockets', 'Time Piece', 'Kush', 'Braids', 'Jody Husky'];
    $adjectives = ['Versace'];
    $data = [];
    $data['serverName'] = generateServerName($adjectives, $nouns);
    $serverName = generateServerName($adjectives, $nouns);
    return $data;
}
function pageController()
{
    $adjective = ['hideous', 'apocryphal', 'sentient', 'peculiar', 'cosmic', 'pathological', 'flensing', 'beardless', 'floppy', 'horrid'];
    $noun = ['flensing', 'eruption', 'gryphon', 'trireme', 'legend', 'chimera', 'fiction', 'presbyter', 'mullion', 'quirk'];
    // Initialize an empty data array.
    $data = [];
    // Add data to be used in the html view.
    $data['title'] = 'Server Name Generator';
    $data['serverName'] = generateServerName($adjective, $noun);
    // Return the completed data array.
    return $data;
}
function pageController()
{
    $nouns = ['dog', 'boi', 'kitten', 'rabbit', 'manitee', 'salmon', 'papaya', 'lamp', 'cat', 'bug', 'flipflops'];
    $adjectives = ['hungry', 'sleepy', 'sassy', 'energetic', 'rotten', 'hopeful', 'curious', 'grumpy', 'lavish', 'delicious', 'gucci'];
    $data = [];
    $data['serverName'] = generateServerName($nouns, $adjectives);
    return $data;
    //return $data = [
    //'serverName' => generateServerName($nouns, $adjectives);
    //'nouns'=>$nouns,
    //'adjectives'=> $adjectives
    //]
    //}
}