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


PHP Teacher::getListTeacher方法代码示例

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


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

示例1: Teacher

    echo $action;
    ?>
" >

                
                 <tr>
                            <td class="col1">
                                <?php 
    Forms::printLabel('Profesor');
    ?>
                                
                            </td>
                            <td class="col2">
                                <?php 
    $object = new Teacher($db);
    $data_teacher = $object->getListTeacher($_GET['ASSIGN_COURSE']);
    $item = $data_teacher[0];
    //Forms::printInput('TEXT', 'pk_id_student', $item['id'], 'mini', array());
    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">
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:titular.php

示例2:

         }
        }
                }
               }
        */
        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->getListTeacher();
?>
<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,代码来源:teacher_admin.php

示例3: elseif

if (isset($_GET['EDIT'])) {
    $action = 'EDIT';
    $title_1 = $v_label["EDIT_TITLE"];
    $elementAction = $_GET['EDIT'];
} elseif (isset($_GET['PREVIEW'])) {
    $action = 'PREVIEW';
    $title_1 = $v_label["PREVIEW_TITLE"];
    $elementAction = $_GET['PREVIEW'];
} elseif (isset($_GET['ASSIGN_COURSE'])) {
    $action = 'ASSIGN_COURSE';
    $title_1 = $v_label["ASSIGN_COURSE_TITLE"];
    $elementAction = $_GET['ASSIGN_COURSE'];
}
if ($action != 'INSERT') {
    $element = new Teacher($registry[$nameDataBase]);
    $list = $element->getListTeacher($elementAction);
    $data_teacher = $list[0];
}
// simplificar acceso a etiquetas de formulario
$v_label_gral_form = $property["pages"]["general_form"];
if ($action == 'PREVIEW' || $action == 'EDIT') {
    $person = new Person($registry[$nameDataBase]);
    $list = $person->getListPerson($data_teacher['fk_id_person']);
    $data_per = $list[0];
    /*
    $assDir = new AssignPersonDirection($registry[$nameDataBase]);
    $dirs = $assDir->getListAssingPersonDirection($data_student['fk_id_person']);
    */
    //print_r($billData);
    if ($action == 'PREVIEW') {
        $preview_flag = 1;
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:upload_debt.php

示例4: array

                            </td>
                        </tr>
                        
                       
                      
                          <tr>
                            <td class="col1">
                               <?php 
Forms::printLabel('Profesor');
?>
                                
                            </td>
                            <td class="col2">
                                <?php 
$itemsSelect = array();
$list = $teacher->getListTeacher();
foreach ($list as $item) {
    $itemsSelect[$item['id']] = $item['teacher_full_name'];
}
$valData = '';
if ($action == 'EDIT' || $action == 'PREVIEW') {
    $valData = $data['fk_id_teacher'];
}
Forms::printInput('SELECT', 'FK_ID_TEACHER', $valData, '', array(), $itemsSelect);
?>
                                
                            </td>
                        </tr>
                       
                        
                        <tr>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:teacher_matter.php


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