本文整理汇总了PHP中Cliente::options方法的典型用法代码示例。如果您正苦于以下问题:PHP Cliente::options方法的具体用法?PHP Cliente::options怎么用?PHP Cliente::options使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Cliente
的用法示例。
在下文中一共展示了Cliente::options方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<div class="filtros-Default filtros-100">
<form action="" method="POST">
<input type="hidden" name="filter">
<h3> FILTRAR POR:</h3>
<select name="vendedor" id="svendedor">
<option value="">VENDEDOR</option>
<?php
Vendedor::options($vSelected);
?>
</select>
<select name="cliente" id="scliente">
<option value="">CLIENTE</option>
<?php
Cliente::options();
?>
</select>
<select name="estado" id="sestado">
<option value="">ESTADO</option>
<?php
Compra::optionsEstado($eSelected);
?>
</select>
<button class="button-image" type="submit" ><img src="../layout/ver.png" alt=""> VER LISTADO DE RESULTADOS </button>
</form>
</div>
示例2: getClientes
private function getClientes()
{
$cliente = new Cliente();
$cliente->options(self::post('id'));
}
示例3:
<div class="filtros-Default filtros-100">
<form action="" method="POST">
<input type="hidden" name="filter">
<h3> FILTRAR POR:</h3>
<select name="vendedor" id="svendedor">
<option value="">VENDEDOR</option>
<?php
Vendedor::options($vSelected);
?>
</select>
<select name="cliente" id="scliente">
<option value="">CLIENTE</option>
<?php
Cliente::options($cSelected);
?>
</select>
<button class="button-image" type="submit" ><img src="../layout/ver.png" alt=""> VER LISTADO DE RESULTADOS </button>
<input type="hidden" name="submit">
<a href="n_usuario.php?activo=2&sub=e"><button class="button-image btn-new-client" type="submit" ><img src="../layout/ver.png" alt=""> NUEVO CLIENTE </button></a>
</form>
</div>
</div>
<div class="prod_container" clone-width-parent>
<div class="three_444 contenedor-default contenedor-A">
<div class="three_444 contenedor-default contenedor-A">
示例4: header
$_SESSION['user'] = $_POST;
header('Location: index.php');
// include ROOT.DS.'src/Usuarios.php';
// include ROOT.DS.'src/Login.php';
// $user = new Usuarios( new Config() );
// $arrUser = $user->read($_POST['usuario']);
// $log = new Login( new Config() );
// $log->login( $_POST, $arrUser );
} else {
header('Location: login.php');
}
} else {
include ROOT . DS . 'src/Cliente.php';
$cliente = new Cliente(new Config());
$clientes = $cliente->read();
$optionClientes = $cliente->options($clientes);
}
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="GeraSys - DRH Transparência">
<meta name="author" content="HsNunes">
<title>GeraSys - DRH Transparência</title>
<!-- Bootstrap Core CSS -->
<link href="../view/css/bootstrap.css" rel="stylesheet">
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> -->
<!-- <script src="https://maps.googleapis.com/maps/api/js"></script> -->
示例5:
?>
<input type="hidden" name="client" value="<?php echo $cSelected ?>">
<div class="filtros_container" style="width: 105.38%;margin-bottom: 2px" clone-width-child>
<div class="filtros-Default filtros-100">
<form action="" method="POST">
<input type="hidden" name="filter">
<h3> FILTRAR POR:</h3>
<select name="vendedor" id="svendedor">
<option value="">VENDEDOR</option>
<?php Vendedor::options($vSelected); ?>
</select>
<select name="cliente" id="scliente">
<option value="">CLIENTE</option>
<?php Cliente::options() ?>
</select>
<select name="estado" id="sestado">
<option value="">ESTADO</option>
<?php Compra::optionsEstado($eSelected); ?>
</select>
<button class="button-image" type="submit" ><img src="../layout/ver.png" alt=""> VER LISTADO DE RESULTADOS </button>
</form>
</div>
</div>
<div class="prod_container" clone-width-parent>
<div class="contenedor-default">