本文整理汇总了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>';
示例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];
示例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);
示例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');
示例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();