コード例 #1
0
ファイル: type.php プロジェクト: aymericbouzy/cluedo-solver
function select_type($type, $fields = array())
{
    $type = select_entry("type", array("id", "name"), $type, $fields);
    return $type;
}
コード例 #2
0
ファイル: turn.php プロジェクト: aymericbouzy/cluedo-solver
function select_turn($turn, $fields = array())
{
    $turn = select_entry("turn", array("id", "player", "room", "weapon", "suspect", "witness", "evidence", "game"), $turn, $fields);
    return $turn;
}
コード例 #3
0
ファイル: game.php プロジェクト: aymericbouzy/cluedo-solver
function select_game($game, $fields = array())
{
    $game = select_entry("game", array("date", "id", "my_player"), $game, $fields);
    return $game;
}
コード例 #4
0
ファイル: card.php プロジェクト: aymericbouzy/cluedo-solver
function select_card($card, $fields = array())
{
    $card = select_entry("card", array("id", "name", "type"), $card, $fields);
    return $card;
}