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


PHP controlAdminForm::textArea方法代码示例

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


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

示例1: array

$name = 'address';
$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '200');
if (!isset($_POST[$name])) {
    $value = $rowDetail[$name];
} else {
    $value = $_POST[$name];
}
$data = $cF->inputText($name, $value, 'input_medium', $properties);
echo $cF->displayTable('Địa chỉ', $data);
$name = 'message';
if (!isset($_POST[$name])) {
    $value = $rowDetail[$name];
} else {
    $value = $_POST[$name];
}
$others = $cF->ckeditorCustom($name);
$data = $cF->textArea($name, $value, 'textarea', NULL, $others);
echo $cF->displayTable('Nội dung', $data);
$name = 'lang';
$data = $cF->inputHidden($name, $lang);
echo $data;
$name = 'id';
$data = $cF->inputHidden($name, $rowDetail[$name]);
echo $data;
$name = 'btnCancel';
$btnCancel = $cF->btnCancel($name);
$name = 'btnSubmit';
$btnSubmit = $cF->inputSubmit($name, $arrAction['lable'], 'submit');
echo $cF->displayTable('', $btnSubmit . $btnCancel);
echo '</table></form>';
开发者ID:hieunhan1,项目名称:all-website4,代码行数:31,代码来源:admin_web_contact_ac.php

示例2: array

$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '30');
$value = $rowDetail[$name];
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium', $properties);
echo $cF->displayDiv('Phone', $data);
$name = 'email';
$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '60');
$value = $rowDetail[$name];
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium', $properties);
echo $cF->displayDiv('Email', $data);
$name = 'address';
$properties = array();
$properties[] = array('propertie' => 'spellcheck', 'value' => 'false');
$value = $rowDetail[$name];
$data = $cF->textArea($name, $value, 'ad_field adInput adTextArea', $properties);
echo $cF->displayDiv('Address', $data);
$name = 'date_birthday';
$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '16');
if ($rowDetail[$name] == 0) {
    $value = date('Y-m-d 00:00', time());
} else {
    $value = date('Y-m-d 00:00', $rowDetail[$name]);
}
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtSmall datetimepick', $properties);
echo $cF->displayDiv('Birthday', $data);
$name = 'exp_work';
$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '3');
$value = $rowDetail[$name];
开发者ID:hieunhan1,项目名称:all-website-v5,代码行数:31,代码来源:admin_mn_trainer_ac.php

示例3: array

$properties[] = array('propertie' => 'check', 'value' => '5');
$properties[] = array('propertie' => 'message', 'value' => 'Nhập mã môn học');
if ($arrAction['disabled'] != '') {
    $properties[] = $arrAction['disabled'];
}
$other = '<span class="error adError"></span>';
$value = $rowDetail[$name];
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium', $properties, $other);
echo $cF->displayDiv('Mã môn học', $data);
$name = 'name';
$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '150');
$properties[] = array('propertie' => 'check', 'value' => '5');
$properties[] = array('propertie' => 'message', 'value' => 'Nhập tên môn học');
$other = '<span class="error adError"></span>';
$value = $rowDetail[$name];
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium', $properties, $other);
echo $cF->displayDiv('Tên môn học', $data);
$name = 'content';
$value = $rowDetail[$name];
$name = 'ckeditor_content';
$properties = array();
$properties[] = array('propertie' => 'type', 'value' => 'ckeditor');
$others = $cF->ckeditorFull($name);
$data = $cF->textArea($name, $value, 'ad_field', $properties, $others);
echo $cF->displayDiv('Nội dung', $data);
$name = 'btnCancel';
$btnCancel = $cF->btnCancel($name, 'Back');
$name = 'btnSubmitAjax';
$btnSubmit = $cF->inputSubmit($name, $arrAction['lable'], 'adBtnLarge bgColorBlue1 corner8');
echo $cF->displayDiv(' ', $btnSubmit . $btnCancel);
开发者ID:hieunhan1,项目名称:all-website-v5,代码行数:31,代码来源:admin_mn_course_ac.php

示例4: array

}
$data = $cF->inputText($name, $value, 'input_medium', $properties);
echo $cF->displayTable('Chi phí tạm tính', $data);
$name = 'investor';
$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '100');
if (!isset($_POST[$name])) {
    $value = $rowDetail[$name];
} else {
    $value = $_POST[$name];
}
$data = $cF->inputText($name, $value, 'input_medium', $properties);
echo $cF->displayTable('Chủ đầu tư', $data);
$name = 'notes';
$value = $rowDetail[$name];
$data = $cF->textArea($name, $value, 'textareaAdmin');
echo $cF->displayTable('Ghi chú', $data);
$name = 'type';
$values = array();
$values[] = array('name' => 'Thẩm tra', 'id' => '1');
$values[] = array('name' => 'Thiết kế', 'id' => '2');
if (!isset($_POST[$name])) {
    if ($rowDetail[$name] == '') {
        $valueCheck = 1;
    } else {
        $valueCheck = $rowDetail[$name];
    }
} else {
    $valueCheck = $_POST[$name];
}
$data = $cF->inputRadio($name, $values, $valueCheck, 'radio');
开发者ID:hieunhan1,项目名称:all-website-v5,代码行数:31,代码来源:admin_web_construction_ac.php

示例5: array

$properties[] = array('propertie' => 'placeholder', 'value' => 'English');
$value = $rowDetail[$name];
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium fieldEnglish', $properties);
$name = 'name_vi';
$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '200');
$properties[] = array('propertie' => 'placeholder', 'value' => 'Tiếng việt');
$value = $rowDetail[$name];
$data .= '<br />' . $cF->inputText($name, $value, 'ad_field adInput adTxtMedium fieldVietnamese', $properties);
echo $cF->displayDiv('Company', $data);
$name = 'address';
$properties = array();
$properties[] = array('propertie' => 'spellcheck', 'value' => 'false');
$properties[] = array('propertie' => 'placeholder', 'value' => 'English');
$value = $rowDetail[$name];
$data = $cF->textArea($name, $value, 'ad_field adInput adTextArea fieldEnglish', $properties);
$name = 'address_vi';
$properties = array();
$properties[] = array('propertie' => 'spellcheck', 'value' => 'false');
$properties[] = array('propertie' => 'placeholder', 'value' => 'Tiếng việt');
$value = $rowDetail[$name];
$data .= '<br />' . $cF->textArea($name, $value, 'ad_field adInput adTextArea fieldVietnamese', $properties);
echo $cF->displayDiv('Address', $data);
$name = 'email';
$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '60');
$value = $rowDetail[$name];
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium', $properties);
echo $cF->displayDiv('Email', $data);
$name = 'phone';
$properties = array();
开发者ID:hieunhan1,项目名称:all-website-v5,代码行数:31,代码来源:admin_mn_contract_ac.php


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