当前位置: 首页>>代码示例>>PHP>>正文


PHP Student::getListStudent方法代码示例

本文整理汇总了PHP中Student::getListStudent方法的典型用法代码示例。如果您正苦于以下问题:PHP Student::getListStudent方法的具体用法?PHP Student::getListStudent怎么用?PHP Student::getListStudent使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Student的用法示例。


在下文中一共展示了Student::getListStudent方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Student

                            </td>
                        </tr>
                       
                        
                          <tr>
                            <td class="col1">
                               <?php 
Forms::printLabel('Asignar Dependientes');
?>
                                
                            </td>
                            <td class="col2">
                               
                                <?php 
$student = new Student($db);
$catalogo1 = $student->getListStudent();
$itemsSelect = array();
foreach ($catalogo1 as $item) {
    $itemsSelect[$item['id']] = $item['full_name'];
}
Forms::printInput('SELECT', 'student', null, 'combobox', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), $itemsSelect);
?>
                               
                            </td>
                        </tr>
                        
                        <tr>
                            <td style="vertical-align: top; padding-top: 9px;">
                                
                            </td>
                          
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:30,代码来源:titular_asignar_dependientes.php

示例2: Student

    echo $action;
    ?>
" >

                
                 <tr>
                            <td class="col1">
                                <?php 
    Forms::printLabel('Estudiante');
    ?>
                                
                            </td>
                            <td class="col2">
                                <?php 
    $object = new Student($db);
    $data_student = $object->getListStudent($_GET['ASSIGN_FAMILY']);
    $item = $data_student[0];
    Forms::printInput('TEXT', 'NAME', $item['name'] . ' ' . $item['last_name'], 'mini', array());
    ?>
                                
                            </td>
                        </tr>                                                                          
                        <tr>
                            <td class="col1">
                                <?php 
    Forms::printLabel("Familiares");
    ?>
                                
                            </td>
                            <td class="col2">                 
                                     <a  href="javascript:void(0);" class="button_form modal_ajax_form" 
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:student.php

示例3:

                        $pk_resultado = $pk_idh;
                    }
                }
            }
        }
        if ($pk_resultado > 0) {
            Forms::setMessage('SUCCESS', $v_label["SHORT_MESSAGE_OK_NEW"], $v_label["DETAIL_MESSAGE_OK_NEW"]);
        } else {
            Forms::setMessage('ERROR', $v_label["SHORT_MESSAGE_NOOK_NEW"], $v_label["DETAIL_MESSAGE_NOOK_NEW"]);
        }
        break;
    default:
        break;
}
// Obtener lista
$list = $catalog->getListStudent();
?>
<div class="grid_10">
    <div class="box round first">
        <h2><?php 
echo $v_label["TITLE"];
?>
</h2>


        <?php 
include "view/wallejlla/templates/tpl_messages_1.php";
?>
 
        <h5><?php 
echo $v_label["TITLE_LIST"];
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:student_admin.php

示例4: CourseHard

 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
include_once 'course_save_script.php';
$pk_id_student = 0;
$name_student = '';
$string_student_data = '';
$courseHard = new CourseHard($registry[$nameDataBase]);
$student = new Student($registry[$nameDataBase]);
if (isset($_GET['PK_ID_COURSE_HARD'])) {
    $res = $courseHard->getListCourseHard($_GET['PK_ID_COURSE_HARD']);
    $data = $res[0];
}
if (isset($_GET['pk_id_student']) && $_GET['pk_id_student'] > 0) {
    $pk_id_student = $_GET['pk_id_student'];
    $studentData = $student->getListStudent($pk_id_student);
    $name_student = $studentData[0]['full_name'];
    $string_student_data = "&pk_id_student={$pk_id_student}";
}
$labelAdminCourses = 'Administrar Datos de Curso';
if (in_array($_SESSION['pk_id_role'], array(ROLE_TITULAR))) {
    $labelAdminCourses = "Datos de Curso";
}
if (in_array($_SESSION['pk_id_role'], array(ROLE_PROFESOR, ROLE_ESTUDIANTE))) {
    $labelAdminCourses = "Mis Datos de Curso";
}
$labelAdminMatterTeacher = 'Asignacion Materia-Profesor';
if (in_array($_SESSION['pk_id_role'], array(ROLE_ESTUDIANTE))) {
    $labelAdminMatterTeacher = "Mis datos de Materia-Profesor";
}
$labelAdminRequests = 'Consultas';
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:course_menu_left.php

示例5: array

$preview_flag = 0;
$data = array();
if ($action == 'EDIT') {
    null;
}
// Simplificar la ruta de propiedades
$v_label = $property["pages"]["course/student_admin"];
$v_label_list = $property["pages"]["general_list"];
// Simplificar el ruteo de edicion/visualizacion
$v_route_edit_preview = 'index.php?page=course/student_family_form';
// Simplificar el ruteo de insert
$v_route_insert = '?page=course/student_family_form';
// Simplificar el ruteo de lista
$v_route_list = 'index.php?page=course/student_admin';
$student = new Student($db);
$catalog = $student->getListStudent($_GET['id']);
$data_student = array();
if (count($catalog) > 0) {
    $data_student = $catalog[0];
}
//
// Obtener lista
$family = $student->getListFamily($_GET['id']);
$data_family = array();
if (count($family) > 0) {
    $data_family = $family[0];
}
?>


                                      
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:28,代码来源:student_family_form.php


注:本文中的Student::getListStudent方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。