Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
TextArea
PHP Class TextArea
For more details on how to use validation see {@link FormValidationRequirement}. Rather than use the rows and cols attributes as with a traditional HTML
, you should style your text-multiline using CSS. <div class="row doc-tags"> <div class="col-md-12"> <div class="tag-block tag-summary"> </div> <div class="tag-block tag-remarks"> </div> <div class="tag-block tag-exception"> </div> <div class="tag-block tag-see"> <div class="field"> See also: <span>FormInput </span> </div> </div> <div class="tag-block tag-link"> </div> <div class="tag-block tag-deprecated"> </div> <div class="tag-block tag-since"> </div> <div class="tag-block tag-author"> <div class="field"> Author: <span> Iain Dooley (iain@iaindooley.com) </span> </div> </div> </div> </div> <div class="doc-tags"> <div class="field"> Inheritance: <span> <span class="inheritance-type">extends</span> <span class="inheritance-name">FormInput</span> </span> </div> </div> <a rel="nofollow" class="btn btn-default" href="javascript:app.open('https://hotexamples.com/zh/site/file?hash=0x6986246dd01bc3ddce77d3c7cddbe484d1d943c39d18698832c4fb143d041527&fullName=&project=openeyes%2Fopeneyes')"> 显示文件 </a> <a rel="nofollow" class="btn btn-default" href="javascript:app.open('https://hotexamples.com/zh/site/redirect?url=https%3A%2F%2Fgithub.com%2Fopeneyes%2Fopeneyes')"> Open project: openeyes/openeyes </a> <a class="btn btn-default" href="https://hotexamples.com/zh/examples/-/TextArea/-/php-textarea-class-examples.html"> Class Usage Examples </a> <h2>Public Properties</h2> <table class="table table-striped"> <tr> <th>Property</th> <th>Type</th> <th>Description</th> <th></th> </tr> <tr class="property-descr"> <td><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-button"><span class="var-name">$button</span></a></td> <td></td> <td></td> <td class="actions"><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-button" title="Direct link to property TextArea::button documentation"> <i class='icon-borderless icon-link'></i> </a> </td> </tr> <tr class="property-descr"> <td><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-class"><span class="var-name">$class</span></a></td> <td></td> <td></td> <td class="actions"><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-class" title="Direct link to property TextArea::class documentation"> <i class='icon-borderless icon-link'></i> </a> </td> </tr> <tr class="property-descr"> <td><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-cols"><span class="var-name">$cols</span></a></td> <td></td> <td></td> <td class="actions"><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-cols" title="Direct link to property TextArea::cols documentation"> <i class='icon-borderless icon-link'></i> </a> </td> </tr> <tr class="property-descr"> <td><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-layout"><span class="var-name">$layout</span></a></td> <td></td> <td></td> <td class="actions"><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-layout" title="Direct link to property TextArea::layout documentation"> <i class='icon-borderless icon-link'></i> </a> </td> </tr> <tr class="property-descr"> <td><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-no_label"><span class="var-name">$no_label</span></a></td> <td></td> <td></td> <td class="actions"><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-no_label" title="Direct link to property TextArea::no_label documentation"> <i class='icon-borderless icon-link'></i> </a> </td> </tr> <tr class="property-descr"> <td><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-nowrapper"><span class="var-name">$nowrapper</span></a></td> <td></td> <td></td> <td class="actions"><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-nowrapper" title="Direct link to property TextArea::nowrapper documentation"> <i class='icon-borderless icon-link'></i> </a> </td> </tr> <tr class="property-descr"> <td><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-rows"><span class="var-name">$rows</span></a></td> <td></td> <td></td> <td class="actions"><a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-rows" title="Direct link to property TextArea::rows documentation"> <i class='icon-borderless icon-link'></i> </a> </td> </tr> </table> <h2>Property Details</h2> <div class="property-descr-full" id="prop-button"> <div class="row"> <div class="col-md-6"> <h3 class="name">$button <span>public_oe property</span> </h3> </div> <div class="col-md-6 actions"> <a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-button" title="Direct link to property TextArea::button documentation"> <i class='icon-borderless icon-link'></i> </a> </div> </div> <div class="row"> <div class="col-md-12"> </div> </div> <div class="row doc-tags"> <div class="col-md-12"> </div> </div> <div class="row"> <div class="col-md-12" style="overflow: auto"> <table class="table table-striped"> <!-- <tr> <td colspan="3"></td> </tr> --> <tr> <td colspan="3" class="rendered"> <span class="modifier">public</span > <span class="var-name">$button</span> </td> </tr> </table> </div> </div> </div> <div class="property-descr-full" id="prop-class"> <div class="row"> <div class="col-md-6"> <h3 class="name">$class <span>public_oe property</span> </h3> </div> <div class="col-md-6 actions"> <a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-class" title="Direct link to property TextArea::class documentation"> <i class='icon-borderless icon-link'></i> </a> </div> </div> <div class="row"> <div class="col-md-12"> </div> </div> <div class="row doc-tags"> <div class="col-md-12"> </div> </div> <div class="row"> <div class="col-md-12" style="overflow: auto"> <table class="table table-striped"> <!-- <tr> <td colspan="3"></td> </tr> --> <tr> <td colspan="3" class="rendered"> <span class="modifier">public</span > <span class="var-name">$class</span> </td> </tr> </table> </div> </div> </div> <div class="property-descr-full" id="prop-cols"> <div class="row"> <div class="col-md-6"> <h3 class="name">$cols <span>public_oe property</span> </h3> </div> <div class="col-md-6 actions"> <a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-cols" title="Direct link to property TextArea::cols documentation"> <i class='icon-borderless icon-link'></i> </a> </div> </div> <div class="row"> <div class="col-md-12"> </div> </div> <div class="row doc-tags"> <div class="col-md-12"> </div> </div> <div class="row"> <div class="col-md-12" style="overflow: auto"> <table class="table table-striped"> <!-- <tr> <td colspan="3"></td> </tr> --> <tr> <td colspan="3" class="rendered"> <span class="modifier">public</span > <span class="var-name">$cols</span> </td> </tr> </table> </div> </div> </div> <div class="property-descr-full" id="prop-layout"> <div class="row"> <div class="col-md-6"> <h3 class="name">$layout <span>public_oe property</span> </h3> </div> <div class="col-md-6 actions"> <a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-layout" title="Direct link to property TextArea::layout documentation"> <i class='icon-borderless icon-link'></i> </a> </div> </div> <div class="row"> <div class="col-md-12"> </div> </div> <div class="row doc-tags"> <div class="col-md-12"> </div> </div> <div class="row"> <div class="col-md-12" style="overflow: auto"> <table class="table table-striped"> <!-- <tr> <td colspan="3"></td> </tr> --> <tr> <td colspan="3" class="rendered"> <span class="modifier">public</span > <span class="var-name">$layout</span> </td> </tr> </table> </div> </div> </div> <div class="property-descr-full" id="prop-no_label"> <div class="row"> <div class="col-md-6"> <h3 class="name">$no_label <span>public_oe property</span> </h3> </div> <div class="col-md-6 actions"> <a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-no_label" title="Direct link to property TextArea::no_label documentation"> <i class='icon-borderless icon-link'></i> </a> </div> </div> <div class="row"> <div class="col-md-12"> </div> </div> <div class="row doc-tags"> <div class="col-md-12"> </div> </div> <div class="row"> <div class="col-md-12" style="overflow: auto"> <table class="table table-striped"> <!-- <tr> <td colspan="3"></td> </tr> --> <tr> <td colspan="3" class="rendered"> <span class="modifier">public</span > <span class="var-name">$no_label</span> </td> </tr> </table> </div> </div> </div> <div class="property-descr-full" id="prop-nowrapper"> <div class="row"> <div class="col-md-6"> <h3 class="name">$nowrapper <span>public_oe property</span> </h3> </div> <div class="col-md-6 actions"> <a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-nowrapper" title="Direct link to property TextArea::nowrapper documentation"> <i class='icon-borderless icon-link'></i> </a> </div> </div> <div class="row"> <div class="col-md-12"> </div> </div> <div class="row doc-tags"> <div class="col-md-12"> </div> </div> <div class="row"> <div class="col-md-12" style="overflow: auto"> <table class="table table-striped"> <!-- <tr> <td colspan="3"></td> </tr> --> <tr> <td colspan="3" class="rendered"> <span class="modifier">public</span > <span class="var-name">$nowrapper</span> </td> </tr> </table> </div> </div> </div> <div class="property-descr-full" id="prop-rows"> <div class="row"> <div class="col-md-6"> <h3 class="name">$rows <span>public_oe property</span> </h3> </div> <div class="col-md-6 actions"> <a href="https://doc.hotexamples.com/zh/class/-/TextArea#prop-rows" title="Direct link to property TextArea::rows documentation"> <i class='icon-borderless icon-link'></i> </a> </div> </div> <div class="row"> <div class="col-md-12"> </div> </div> <div class="row doc-tags"> <div class="col-md-12"> </div> </div> <div class="row"> <div class="col-md-12" style="overflow: auto"> <table class="table table-striped"> <!-- <tr> <td colspan="3"></td> </tr> --> <tr> <td colspan="3" class="rendered"> <span class="modifier">public</span > <span class="var-name">$rows</span> </td> </tr> </table> </div> </div> </div> </div> </div> </div></div> <footer class="footer"> <div class="container"> <div class="row"> <div class="col-md-12" style="text-align: center"> <a href="https://hotexamples.com/zh/site/trends?type=php%7Cf">热门功能</a> | <a href="https://hotexamples.com/zh/site/trends?type=php%7Cc"> 热门类 </a> | <a href="https://doc.hotexamples.com/zh/doc/map">文档</a> | <a href="/site/privacy">隐私政策</a> | <a href="https://cpp.hotexamples.com/direct-sales.html">Advertise with us</a> </div> </div> <div class="row"> <div class="col-md-12" style="text-align: center"> <a href="https://hotexamples.com/zh/">PHP</a> | <a href="https://csharp.hotexamples.com/zh/">C# (CSharp)</a> | <a href="https://java.hotexamples.com/zh/">Java</a> | <a href="https://golang.hotexamples.com/zh/">Golang</a> | <a href="https://cpp.hotexamples.com/zh/">C++ (Cpp)</a> | <a href="https://python.hotexamples.com/zh/">Python</a> | <a href="https://javascript.hotexamples.com/zh/">JavaScript</a> | <a href="https://typescript.hotexamples.com/zh/">TypeScript</a> </div> </div> <div class="row"> <div class="col-md-12" style="text-align: center"> <a href="https://doc.hotexamples.com/class/-/TextArea">EN</a> | <a href="https://doc.hotexamples.com/ru/class/-/TextArea">RU</a> | <a href="https://doc.hotexamples.com/de/class/-/TextArea">DE</a> | <a href="https://doc.hotexamples.com/fr/class/-/TextArea">FR</a> | <a href="https://doc.hotexamples.com/es/class/-/TextArea">ES</a> | <a href="https://doc.hotexamples.com/pt/class/-/TextArea">PT</a> | <a href="https://doc.hotexamples.com/it/class/-/TextArea">IT</a> | <a href="https://doc.hotexamples.com/jp/class/-/TextArea">JP</a> | <a href="https://doc.hotexamples.com/zh/class/-/TextArea">ZH</a> | <a href="https://doc.hotexamples.com/ko/class/-/TextArea">KO</a> </div> </div> <div class="row"> <div class="col-md-10 col-md-offset-1"> </div> <div class="col-md-1"> <!--LiveInternet counter--> <script type="text/javascript"><!-- document.write("<a href='//www.liveinternet.ru/click' " + "target=_blank><img src='//counter.yadro.ru/hit?t44.6;r" + escape(document.referrer) + ((typeof (screen) == "undefined") ? "" : ";s" + screen.width + "*" + screen.height + "*" + (screen.colorDepth ? screen.colorDepth : screen.pixelDepth)) + ";u" + escape(document.URL) + ";" + Math.random() + "' alt='' title='LiveInternet' " + "border='0' width='31' height='31'><\/a>"); //--></script><!--/LiveInternet--> </div> </div> </div> </footer> <script src="//ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="/assets/30dd86a6f06b64184847037c52c63e07aa3c9a26.js"></script> <script>jQuery(function ($) { jQuery('#search-form').yiiActiveForm([{"id":"searchform-lang","name":"lang","container":".field-searchform-lang","input":"#searchform-lang","enableAjaxValidation":true},{"id":"searchform-search","name":"search","container":".field-searchform-search","input":"#searchform-search","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {yii.validation.required(value, messages, {"message":"Search cannot be blank."});}}], []); });</script></body> </html>