本文整理汇总了PHP中Documento::listarCaixas方法的典型用法代码示例。如果您正苦于以下问题:PHP Documento::listarCaixas方法的具体用法?PHP Documento::listarCaixas怎么用?PHP Documento::listarCaixas使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Documento
的用法示例。
在下文中一共展示了Documento::listarCaixas方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<label class="control-label" for="selectError1">Categoria</label>
<div class="controls">
<select id="selectError1" data-rel="chosen" name="categoria" disabled="disabled">
<?php
$documento->listarCategoria($documento->getIdCategoria());
?>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="selectError">Caixa</label>
<div class="controls">
<select id="selectError" data-rel="chosen" name="caixa" disabled="disabled">
<?php
$documento->listarCaixas($documento->getIdLocal());
?>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Arquivo</label>
<div class="controls">
<input type="file" name="file">
</div>
</div>
<div class="control-group">
<label class="control-label">Baixar</label>
<div class="controls">
示例2:
</div>
</div>
<div class="control-group">
<label class="control-label">Arquivo</label>
<div class="controls">
<input type="file" name="file">
</div>
</div>
<div class="control-group">
<label class="control-label" for="selectError">Caixa</label>
<div class="controls">
<select id="selectError" data-rel="chosen" name="caixa">
<?php
$documento->listarCaixas();
?>
</select>
</div>
</div>
<div class="form-actions">
<input type="hidden" name="cmd" value="finaliza">
<button type="submit" class="btn btn-primary">Finalizar</button>
<button type="reset" class="btn" onclick="history.go(-1)">Cancelar</button>
</div>
</fieldset>
</form>
</div>
</div>
示例3:
<label class="control-label" for="selectError1"><b>Categoria</b></label>
<div class="controls">
<select id="selectError1" data-rel="chosen" name="categoria">
<?php
$documento_new->listarCategoria();
?>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="selectError"><b>Caixa</b></label>
<div class="controls">
<select id="selectError" data-rel="chosen" name="caixa">
<?php
$documento_new->listarCaixas();
?>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label"><b>Arquivo</b></label>
<div class="controls">
<input type="file" name="file">
</div>
</div>
<div class="control-group">
<label class="control-label" for="textarea2"><b>Observações</b></label>
<div class="controls">