本文整理汇总了PHP中VmHTML::textarea方法的典型用法代码示例。如果您正苦于以下问题:PHP VmHTML::textarea方法的具体用法?PHP VmHTML::textarea怎么用?PHP VmHTML::textarea使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类VmHTML
的用法示例。
在下文中一共展示了VmHTML::textarea方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
echo VmHTML::row_control('input', 'Contact person', 'contact_person', $this->item->contact_person, '');
?>
<?php
echo VmHTML::row_control('input', 'Contact mobile', 'contact_mobile', $this->item->contact_mobile, '');
?>
</div>
</div>
</div>
<div class="addtional-info">
<div class="row-fluid ">
<div class="span4">
Additional info
</div>
<div class="span8">
<?php
echo VmHTML::textarea('additional_info', $this->item->additional_info, '');
?>
</div>
</div>
</div>
</div>
</div>
</div>
<input type="hidden" name="tsmart_vendor_id" value="<?php
echo $this->item->tsmart_vendor_id;
?>
"/>
示例2: defined
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
$app = JFactory::getApplication();
$input = $app->input;
$tsmart_itinerary_id = $input->getInt('tsmart_itinerary_id', 0);
$tsmart_product_id = $input->getInt('tsmart_product_id', 0);
?>
<div class="view-accommodation-edit">
<form action="index.php" method="post" class="form-horizontal" name="adminForm" id="adminForm">
<div class="row-fluid">
<div class="span4">
<h3>select location</h3>
<h4>add node</h4>
<?php
echo VmHTML::textarea('description', $this->item->description, 'class="required"', 30, 10);
?>
</div>
<div class="span8">
<h4> add hotel</h4>
<?php
foreach ($this->list_hotel_selected_by_service_class_id_and_itinerary_id as $service_class) {
?>
<div class="row-fluid">
<div class="span12">
<h4 class="pull-right"><?php
echo $service_class->service_class_name;
?>
</h4>
<input type="hidden" name="tsmart_service_class_id" value="<?php
echo $service_class->tsmart_service_class_id;
示例3:
<?php
} else {
?>
<?php
echo $row->type == 'flat_price' ? 'none' : $row->to;
?>
<?php
}
?>
</td>
<td align="left">
<?php
if ($show_edit) {
?>
<?php
echo VmHTML::textarea('description', $row->description, 80, 3);
?>
<?php
} else {
?>
<?php
echo $row->description;
?>
<?php
}
?>
</td>
<td width="10%" align="center">
<?php
if ($show_edit && $row->type != 'flat_price') {
示例4:
</div>
<div class="row-fluid">
<div class="<?php
echo $span_left;
?>
">
<?php
echo JText::_('Description');
?>
</div>
<div class="<?php
echo $span_right;
?>
">
<?php
echo VmHTML::textarea('Description', $this->item->coupon_name, ' placeholder="Coupon name" ');
?>
</div>
</div>
<div class="row-fluid">
<div class="<?php
echo $span_left;
?>
">
<?php
echo JText::_('Select picture');
?>
</div>
<div class="<?php
echo $span_right;
?>
示例5:
</div>
</div>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="meta_tag">
<div class="panel panel-default">
<div class="panel-heading">Meta tag</div>
<div class="panel-body">
<div class="row-fluid ">
<div class="span12">
<h3 style="text-align: center">Meta name</h3>
<?php
echo VmHTML::textarea('meta_name', $this->product->meta_name, 'class="required" style="width:100%"', 30, 10);
?>
</div>
</div>
<div class="row-fluid ">
<div class="span12">
<h3 style="text-align: center">Short description</h3>
<?php
echo VmHTML::editor('product_s_desc', $this->product->product_s_desc);
?>
</div>
</div>
<div class="row-fluid ">
<div class="span12">