本文整理汇总了PHP中alumno::mostrarDatosCodBarra方法的典型用法代码示例。如果您正苦于以下问题:PHP alumno::mostrarDatosCodBarra方法的具体用法?PHP alumno::mostrarDatosCodBarra怎么用?PHP alumno::mostrarDatosCodBarra使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类alumno
的用法示例。
在下文中一共展示了alumno::mostrarDatosCodBarra方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: alumno
include_once "../../class/curso.php";
include_once "../../class/asistencia.php";
include_once "../../class/cursoarea.php";
include_once "../../class/config.php";
include_once "../../class/agenda.php";
$alumno = new alumno();
$curso = new curso();
$cursoarea = new cursoarea();
$asistencia = new asistencia();
$config = new config();
$agenda = new agenda();
$Codigo = $_POST['Codigo'];
$folder = "../../";
$cnf = $config->mostrarConfig("AtrasoAgenda");
$AtrasoAgenda = $cnf['Valor'];
$al = $alumno->mostrarDatosCodBarra("CodBarra='{$Codigo}'");
if (count($al) <= 0) {
?>
<div class="alert alert-error grande"><?php
echo $idioma['CodigoNoAsignado'];
?>
</div>
<script language="javascript">$("#Codigo").val('').focus();mostrar();</script>
<?php
exit;
}
$al = array_shift($al);
$cur = $curso->mostrarCurso($al['CodCurso']);
$cur = array_shift($cur);
$cArea = $cursoarea->mostrarArea($cur['CodCursoArea']);
$cArea = array_shift($cArea);