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


PHP Forms::printLabel方法代码示例

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


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

示例1: Teacher

                         </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">
                             <div  class="dinamyc_element_new">
                                 <a id="person_din_new" href="javascript:void(0);" class="normal_link">Nuevo Familiar</a>
                                 
                                 <input name="person_din_delete_array" id="person_din_delete_array" type="hidden" value="" class="" />
                                 <input name="person_din_number" id="person_din_number" type="hidden" value="" class="" />
                                 </div>
                                 <div id="person_din" class="dinamyc_container">
                                     <?php 
 // include_once('person_contacts.php');
 ?>
                                 </div>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:titular.php

示例2: array

    $birthday = $data['birthday'];
}
Forms::printInput('TEXT', 'BIRTHDAY', $birthday, 'datePicker', array());
?>
                                
                            </td>
                        </tr>
                </table>
                        </div>
    -->
                        <div id="existentPerson" >
                             <table class="form">  
                     <tr>
                            <td class="col1">
                            <?php 
Forms::printLabel('Persona');
?>
                                
                            </td>
                            <td class="col2">
                                
                                <?php 
$itemsSelect = array();
foreach ($listPerson as $person) {
    $itemsSelect[$person['pk_id_person']] = $person['name'] . ' ' . $person['last_name'];
}
$pk_id_person = 0;
if (in_array($action, array('PREVIEW', 'EDIT'))) {
    $pk_id_person = $data['pk_id_person'];
}
Forms::printInput('SELECT', 'PK_ID_PERSON', $pk_id_person, 'combobox', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), $itemsSelect);
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:user.php

示例3: array

                    <input type="hidden" name="EDIT" value="<?php 
    echo $data['id'];
    ?>
" >
                <?php 
}
?>
                <input type="hidden" name="ACTION" value="<?php 
echo $action;
?>
" >

                <tr>
                    <td class="col1">
                        <?php 
Forms::printLabel($v_label["NAME_LBL"]);
?>

                    </td>
                    <td class="col2">                        
                        <?php 
$name = $action == 'EDIT' ? $data['name'] : '';
if ($action == 'EDIT' || $action == 'INSERT') {
    Forms::printInput('TEXT', 'NAME', $name, 'mini', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]));
} elseif ($action == 'PREVIEW') {
    echo $data['name'];
}
?>
                    </td>
                </tr>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:30,代码来源:country.php

示例4: array

                        <?php 
include "view/wallejlla/templates/tpl_messages_1.php";
?>
 
                    
                    
                    
                   
            
        <div class="block" style="width:90%; height:500px; margin-left: 15px;">
            <form id="admision_review_form" action="index.php?page=admision/admision_review" method="POST">
                
                <table class="form">
                    <tr>
                        <td> <?php 
Forms::printLabel('Codigo de Solicitud');
?>
</td>
                        <td>
                            <input type="hidden" name="REVIEW_REQUEST_FORM" value="1" >
                             <?php 
$name = '';
Forms::printInput('TEXT', 'REQUEST_CODE', $name, 'mini', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), array(), 0);
?>
                        </td>
                        
                    </tr>
                    <tr>
                        <td>
                            
                        </td>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:admision_review.php

示例5: array

                                
                            </td>
                            <td class="col2">
                                  <?php 
$val_pass = array();
if ($action == 'EDIT') {
    $val_pass = array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"], 'MINLENGTH' => array(5, $property["FORMS"]["VALIDATION_GENERIC"]["MIN_5_CHAR"]));
}
Forms::printInput('PASSWORD', 'PASSWORD_1', '', '', $val_pass);
?>
                            </td>
                        </tr>
                        <tr>
                            <td class="col1">
                                 <?php 
Forms::printLabel($property["pages"]["security/new_user"]["R_PASSWORD_LBL"]);
?>
                                
                            </td>
                            <td class="col2">
                               <?php 
$val_pass = array();
if ($action == 'EDIT') {
    $val_pass = array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"], 'MINLENGTH' => array(5, $property["FORMS"]["VALIDATION_GENERIC"]["MIN_5_CHAR"]), 'EQUALTO' => array('#PASSWORD_1', $property["FORMS"]["VALIDATION_GENERIC"]["SAME_PASS"]));
}
Forms::printInput('PASSWORD', 'PASSWORD_2', '', '', $val_pass);
?>
                            </td>
                        </tr>
                        
                        
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:28,代码来源:my_account.php

示例6: isset

    $auxCI = isset($item['ci']) ? '(CI. ' . $item['ci'] . ')' : '(CI. N/A)';
    $itemsSelectPerson[$item['pk_id_person']] = $item['name'] . " " . $item['last_name'] . " " . $item['maternal_name'] . "( " . $auxCI . ")";
}
$idPerson = null;
if ($action == 'EDIT' || $action == 'PREVIEW') {
    $idPerson = $data['fk_id_person'];
}
Forms::printInput('SELECT', 'ID_PERSON', $idPerson, '', array(), $itemsSelectPerson);
?>
                          
                    </td>
                </tr>
                <tr>
                    <td class="col1">
                        <?php 
Forms::printLabel($v_label["STATUS_SUPERVISOR"]);
?>

                    </td>
                    <td class="col2">                        
                        <?php 
$objectStatusSupervisor = new SystemCatalog($db);
$catalogoStatusSupervisor = $objectStatusSupervisor->getListSystemCatalog('STATUS_SUPERVISOR_ADMISSION_AREA');
$itemsSelectStatusSupervisor = array();
foreach ($catalogoStatusSupervisor as $item) {
    $itemsSelectStatusSupervisor[$item['pk_id_catalog']] = $item['description'];
}
$idStatusSupervisor = null;
if ($action == 'EDIT' || $action == 'PREVIEW') {
    $idStatusSupervisor = $data['status_supervisor_admission_area'];
}
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:supervisor.php

示例7:

                                                contactMan.addElement(serial);
                                               
                                               
                                            </script>
                                    <?php 
    }
}
?>
                                
                              
                            </td>
                        </tr>
                          <tr>
                            <td class="col1">
                                <?php 
Forms::printLabel("Direcciones");
?>
                                
                            </td>
                            <td class="col2">
                                <div  class="dinamyc_element_new">
                                    <a id="directions_din_new" href="javascript:void(0);" class="normal_link">Nueva Direccion</a>
                                    
                                    <input name="directions_din_delete_array" id="directions_din_delete_array" type="hidden" value="" class="" />
                                    <input name="directions_din_number" id="directions_din_number" type="hidden" value="" class="" />
                                    </div>
                                    <div id="directions_din" class="dinamyc_container">
                                        <?php 
// include_once('person_contacts.php');
?>
                                    </div>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:person.php

示例8:

                            <td class="col2"><?php 
        Forms::printLabel($data_student_note['name_course']);
        ?>
</td>
                          </tr>
                          <tr>
                            <td class="col1">GESTION:</td>
                            <td class="col2"><?php 
        Forms::printLabel($data_student_note['period']);
        ?>
</td>
                          </tr>
                          <tr>
                            <td class="col1">NIVEL:</td>
                            <td class="col2"><?php 
        Forms::printLabel($data_student_note['level_student']);
        ?>
</td>
                          </tr>                          
                        </table>
                            </div>
                         </tr>
                      </tr>
                      <tr>
                        <td><div class="form_note">                            
                          <table width="100%" border="0" class="form">
                              <tr>
                               <td COLSPAN="13"><div class="subtitle"><div class="subtitle_text">NOTAS</div></div></td>                            
                            </tr>
                                <tr>
                                  <td rowspan="2" class="fila1">MATERIAS</td>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:student.php

示例9: array

                        <?php 
include "view/wallejlla/templates/tpl_messages_1.php";
?>
 
                
                
                <h5><?php 
echo 'Lista de cursos';
?>
</h5><BR>
                <form id="course_data_form" method="POST" action="?page=course/course_admin" enctype="multipart/form-data" >
                    <table class="form">
                         <tr>
                            <td class="col1">
                            <?php 
Forms::printLabel('Periodos');
?>
                                
                            </td>
                            <td class="col2">
                                <?php 
$itemsSelect = array();
foreach ($listPeriod as $item) {
    $itemsSelect[$item['pk_id_period']] = $item['period'];
}
$valData = $period;
Forms::printInput('SELECT', 'PERIODO', $valData, '', array(), $itemsSelect);
?>
                                
                            </td>
                            <td class="col3">&nbsp;&nbsp;</td>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:course_admin.php

示例10: array

    } else {
        ?>
                        <input type="hidden" name="fk_id_query_area" value="<?php 
        echo $consult[0]['fk_id_response_area'];
        ?>
"  >
                        <?php 
    }
    ?>
  
                        
                        
                          <tr>
                            <td class="col1">
                               <?php 
    Forms::printLabel('Respuesta');
    ?>
                                
                            </td>
                            <td class="col2">
                                <?php 
    $valData = '';
    Forms::printInput('TEXTAREA', 'response', $valData, 'large', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), 0);
    ?>
                                
                            </td>
                        </tr>
                         
                        
                       
                        <tr>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:course_response.php

示例11: array

                    </td>
                    <td class="col2">                        
                        <?php 
$name = $action == 'EDIT' ? $data['name'] : '';
if ($action == 'EDIT' || $action == 'INSERT') {
    Forms::printInput('TEXT', 'NAME', $name, 'mini', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]));
} elseif ($action == 'PREVIEW') {
    echo $data['name'];
}
?>
                    </td>
                </tr>
                 <tr>
                            <td class="col1">
                                <?php 
Forms::printLabel('Pais');
?>
                                
                            </td>
                            <td class="col2">
                                <?php 
$object = new Country($db);
$catalogo = $object->getListCountry();
$itemsSelect = array();
foreach ($catalogo as $item) {
    $itemsSelect[$item['id']] = $item['name'];
}
$id_country = '';
if ($action == 'EDIT' || $action == 'PREVIEW') {
    $id_country = $data['fk_id_country'];
}
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:city.php

示例12: array

                    </td>
                    <td class="col2">                        
                        <?php 
    $data_4 = $action == 'EDIT' ? $data_main_course['data_4'] : '';
    if ($action == 'EDIT' || $action == 'INSERT') {
        Forms::printInput('TEXT', 'data_4', $data_4, 'mini', array());
    } elseif ($action == 'PREVIEW') {
        echo $data_main_course['data_4'];
    }
    ?>
                    </td>
                </tr>
                   <tr>
                    <td class="col1">
                        <?php 
    Forms::printLabel('Dato 5:');
    ?>

                    </td>
                    <td class="col2">                        
                        <?php 
    $data_5 = $action == 'EDIT' ? $data_main_course['data_5'] : '';
    if ($action == 'EDIT' || $action == 'INSERT') {
        Forms::printInput('TEXT', 'data_5', $data_5, 'mini', array());
    } elseif ($action == 'PREVIEW') {
        echo $data_main_course['data_5'];
    }
    ?>
                    </td>
                </tr>                                                         
                <tr>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:main_course.php

示例13: Person

                                <?php 
$person = new Person($db);
$catalogo1 = $person->getListPerson();
$itemsSelect = array();
foreach ($catalogo1 as $item) {
    $itemsSelect[$item['pk_id_person']] = $item['name'] . ' ' . $item['last_name'] . ' ' . $item['maternal_name'];
}
Forms::printInput('SELECT', 'person', null, 'combobox', array(), $itemsSelect);
?>
                               
                            </td>
                        </tr>
                        <tr>
                            <td class="col1">
                               <?php 
Forms::printLabel('Parentesco');
?>
                                
                            </td>
                            <td class="col2">
                                <?php 
$kinship = new Kinship($db);
$catalogo1 = $kinship->getListKinship();
$itemsSelect = array();
foreach ($catalogo1 as $item) {
    $itemsSelect[$item['id']] = $item['name'];
}
Forms::printInput('SELECT', 'kinship', null, 'combobox', array(), $itemsSelect);
?>
                                                                
                            </td>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:student_family_form.php

示例14: foreach

$list = $matterCourse->getListAssignHCourseHardMatterTeacherByCourseHard($_GET['PK_ID_COURSE_HARD']);
foreach ($list as $item) {
    $itemsSelect[$item['pk_id_hcourse_matter_teacher']] = $item['matter'];
}
$pk_id_hcourse_matter_teacher = '';
if ($action == 'EDIT') {
    $pk_id_hcourse_matter_teacher = $data['fk_id_hcourse_matter_teacher'];
}
Forms::printInput('SELECT', 'pk_id_hcourse_matter_teacher', $pk_id_hcourse_matter_teacher, '', array(), $itemsSelect);
?>
                            </td>
                        </tr>
                          <tr>
                            <td class="col1">
                               <?php 
Forms::printLabel('Descripcion');
?>
                                
                            </td>
                            <td class="col2">
                                <?php 
$activity_description = '';
if ($action == 'EDIT') {
    $activity_description = $data['activity_description'];
}
Forms::printInput('TEXTAREA', 'activity_description', $activity_description, 'large', array(), $preview_flag);
?>
                                
                            </td>
                        </tr>
                        <tr>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:take_care.php

示例15: array

                    <tr>
                        <td>
                            <?php 
    Forms::printLabel('Apellido Postulante');
    ?>
                        </td>
                        <td>
                            <?php 
    Forms::printInput('TEXT', 'LAST_NAME', '', 'mini', array(), array(), 0);
    ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <?php 
    Forms::printLabel('Fecha entre :');
    ?>
                        </td>
                        <td>
                            <?php 
    Forms::printInput('TEXT', 'DATE_INI', '', 'mini datePicker', array(), array(), 0);
    ?>
&nbsp;y&nbsp;
                            <?php 
    Forms::printInput('TEXT', 'DATE_END', '', 'mini datePicker', array(), array(), 0);
    ?>
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td></td>
开发者ID:vicholuis,项目名称:proyectopruebalms,代码行数:31,代码来源:admision_aproval.php


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