The fastest easiest way to get it right.

hidden

NAME

hidden

FUNCTION

The method hidden adds a hidden value to this androHtml object. A hidden variable is stored in an input html element that has the html property 'type' set to 'hidden'. This enables the passing of variables back and forth from the server to the client browser after refreshes.

INPUTS

string $name - Name of the hidden variable string $value - Value for the hidden variable

SOURCE

function hidden($name,$value = '') {
    $h = $this->h('input');
    $h->hp['type'] = 'hidden';
    $h->hp['id']   = $name;
    $h->hp['name'] = $name;
    $h->hp['value']= $value;
    return $h;
}

User Comments

There are no user comments yet on this page.


Add A Comment

Comments will not appear until after they are moderated. Comments are usually moderated within a few hours on weekdays, but may take longer on weekends and holidays.

Name or nickname: (This will appear with your comment)


Email (this will never be displayed)


Enter your comment here. Use [b] and [/b] for bold, [i] and [/i] for italic, and [pre] and [/pre] for code samples. All literal HTML and PHP that you enter will be escaped out and displayed as you enter it.


Home |  Documentation |  Download |  Credits |  Contact |  Login
Andromeda © Copyright 2004-2010, Licensed under the GPL Version 2