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


PHP controlAdminForm::ckeditorBasic方法代码示例

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


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

示例1: array

$properties[] = array('propertie' => 'check', 'value' => '2');
$properties[] = array('propertie' => 'message', 'value' => 'Nhập name');
$value = $rowDetail[$name];
$other = '<span class="error adError"></span>';
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium', $properties, $other);
echo $cF->displayDiv('Name', $data);
$name = 'question';
if (isset($rowDetail[$name])) {
    $value = $rowDetail[$name];
} else {
    $value = '';
}
$name = 'ckeditor_question';
$properties = array();
$properties[] = array('propertie' => 'type', 'value' => 'ckeditor');
$others = $cF->ckeditorBasic($name);
$data = $cF->textArea($name, $value, 'ad_field', $properties, $others);
echo $cF->displayDiv('Câu hỏi', $data);
$name = 'answers_1';
$properties = array();
$properties[] = array('propertie' => 'spellcheck', 'value' => 'false');
$value = $rowDetail[$name];
$data = $cF->textArea($name, $value, 'ad_field adInput adTextArea', $properties);
echo $cF->displayDiv('Answer 1', $data);
$name = 'answers_2';
$properties = array();
$properties[] = array('propertie' => 'spellcheck', 'value' => 'false');
$value = $rowDetail[$name];
$data = $cF->textArea($name, $value, 'ad_field adInput adTextArea', $properties);
echo $cF->displayDiv('Answer 2', $data);
$name = 'answers_3';
开发者ID:hieunhan1,项目名称:all-website-v5,代码行数:31,代码来源:admin_web_entrytest_ac.php

示例2: array

$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '200');
$others = $c->messageChange(CONS_ADMIN_AUTO_URL);
$value = $rowDetail[$name];
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium', $properties, $others);
echo $cF->displayDiv('Link', $data);
$name = 'description';
if (isset($rowDetail[$name])) {
    $value = $rowDetail[$name];
} else {
    $value = '';
}
$name = 'ckeditor_description';
$properties = array();
$properties[] = array('propertie' => 'type', 'value' => 'ckeditor');
$others = $cF->ckeditorBasic($name, "'Format'");
$data = $cF->textArea($name, $value, 'ad_field', $properties, $others);
echo $cF->displayDiv('Description', $data . '<div class="adNotes">Định dạng Slider HOME dùng H1 và H2, định dạng đặc biệt "Tô Đậm"</div>');
/*$name = 'code';
$properties = array();
$properties[] = array('propertie'=>'maxlength', 'value'=>'20');
$value=$rowDetail[$name];
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium', $properties);
echo $cF->displayDiv('Code', $data);*/
$name = '_order';
$properties = array();
$properties[] = array('propertie' => 'maxlength', 'value' => '3');
$value = $rowDetail[$name];
$data = $cF->inputText($name, $value, 'ad_field adInput adTxtMedium', $properties);
echo $cF->displayDiv('Thứ tự', $data);
//upload images
开发者ID:hieunhan1,项目名称:all-website-v5,代码行数:31,代码来源:admin_web_slider_ac.php


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