Ejemplo n.º 1
0
function select_type($type, $fields = array())
{
    $type = select_entry("type", array("id", "name"), $type, $fields);
    return $type;
}
Ejemplo n.º 2
0
function select_turn($turn, $fields = array())
{
    $turn = select_entry("turn", array("id", "player", "room", "weapon", "suspect", "witness", "evidence", "game"), $turn, $fields);
    return $turn;
}
Ejemplo n.º 3
0
function select_game($game, $fields = array())
{
    $game = select_entry("game", array("date", "id", "my_player"), $game, $fields);
    return $game;
}
Ejemplo n.º 4
0
function select_card($card, $fields = array())
{
    $card = select_entry("card", array("id", "name", "type"), $card, $fields);
    return $card;
}