當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。