Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
lithium
template
helper
Form
textarea
lithium\template\helper\Form::textarea PHP 메소드
Form 1 문서
파일 보기
프로젝트 열기: unionofrad/lithium
textarea()
공개
메소드
..` object.
public
textarea
(
string
$name
,
array
$options
= [] ) :
string
$name
string
The name of the field.
$options
array
The options to be used when generating the `
` tag pair, which are as follows: - `'value'` _string_: The content value of the field. - Any other options specified are rendered as HTML attributes of the element.</td> </tr> <tr> <td class="field-return">리턴</td> <td class="field-return-type"><a href="http://php.net/manual/en/language.types.string.php">string</a></td> <td>Returns a `<textarea>` tag with the given name and HTML attributes.</td> </tr> </table> </div> </div> </div> </div> </div> <div class="row"> <div class="col-md-12"> <div class="example-item"> <figure class="highlight"> <div class="example" data-id="1"> <pre class="line-numbers"><code class="language-php"> public function textarea($name, array $options = array()) { list($name, $options, $template) = $this->_defaults(__FUNCTION__, $name, $options); list($scope, $options) = $this->_options(array('value' => null), $options); $value = isset($scope['value']) ? $scope['value'] : ''; return $this->_render(__METHOD__, $template, compact('name', 'options', 'value')); }</code></pre> </div> </figure> </div> </div> </div> <div class="row"> <div class="col-md-12"> </div> </div> </div> <div class="col-md-3"> <div class="bs-example thin"> <div class="bs-example-title">Form</div> </div> <figure class="highlight panel"> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/__call/-"> <i class="icon-small icon-dot-circle"></i> __call </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/__construct/-"> <i class="icon-small icon-dot-circle"></i> __construct </a> </div> <div class="protected"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/_defaults/-"> <i class="icon-small icon-dot-circle"></i> _defaults </a> </div> <div class="protected"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/_fields/-"> <i class="icon-small icon-dot-circle"></i> _fields </a> </div> <div class="protected"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/_generators/-"> <i class="icon-small icon-dot-circle"></i> _generators </a> </div> <div class="protected"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/_init/-"> <i class="icon-small icon-dot-circle"></i> _init </a> </div> <div class="protected"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/_selectOptions/-"> <i class="icon-small icon-dot-circle"></i> _selectOptions </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/binding/-"> <i class="icon-small icon-dot-circle"></i> binding </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/button/-"> <i class="icon-small icon-dot-circle"></i> button </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/checkbox/-"> <i class="icon-small icon-dot-circle"></i> checkbox </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/config/-"> <i class="icon-small icon-dot-circle"></i> config </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/create/-"> <i class="icon-small icon-dot-circle"></i> create </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/end/-"> <i class="icon-small icon-dot-circle"></i> end </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/error/-"> <i class="icon-small icon-dot-circle"></i> error </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/field/-"> <i class="icon-small icon-dot-circle"></i> field </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/hidden/-"> <i class="icon-small icon-dot-circle"></i> hidden </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/label/-"> <i class="icon-small icon-dot-circle"></i> label </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/password/-"> <i class="icon-small icon-dot-circle"></i> password </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/radio/-"> <i class="icon-small icon-dot-circle"></i> radio </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/respondsTo/-"> <i class="icon-small icon-dot-circle"></i> respondsTo </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/select/-"> <i class="icon-small icon-dot-circle"></i> select </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/submit/-"> <i class="icon-small icon-dot-circle"></i> submit </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/text/-"> <i class="icon-small icon-dot-circle"></i> text </a> </div> <div class="public"> <a rel="nofollow" href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/textarea/-"> <i class="icon-small icon-dot-circle"></i> textarea </a> </div> </figure> </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/ko/site/trends?type=php%7Cf">상위 함수들</a> | <a href="https://hotexamples.com/ko/site/trends?type=php%7Cc"> 상위 클래스들 </a> | <a href="https://doc.hotexamples.com/ko/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/ko/">PHP</a> | <a href="https://csharp.hotexamples.com/ko/">C# (CSharp)</a> | <a href="https://java.hotexamples.com/ko/">Java</a> | <a href="https://golang.hotexamples.com/ko/">Golang</a> | <a href="https://cpp.hotexamples.com/ko/">C++ (Cpp)</a> | <a href="https://python.hotexamples.com/ko/">Python</a> | <a href="https://javascript.hotexamples.com/ko/">JavaScript</a> | <a href="https://typescript.hotexamples.com/ko/">TypeScript</a> </div> </div> <div class="row"> <div class="col-md-12" style="text-align: center"> <a href="https://src.hotexamples.com/method/lithium.template.helper/Form/textarea/-">EN</a> | <a href="https://src.hotexamples.com/ru/method/lithium.template.helper/Form/textarea/-">RU</a> | <a href="https://src.hotexamples.com/de/method/lithium.template.helper/Form/textarea/-">DE</a> | <a href="https://src.hotexamples.com/fr/method/lithium.template.helper/Form/textarea/-">FR</a> | <a href="https://src.hotexamples.com/es/method/lithium.template.helper/Form/textarea/-">ES</a> | <a href="https://src.hotexamples.com/pt/method/lithium.template.helper/Form/textarea/-">PT</a> | <a href="https://src.hotexamples.com/it/method/lithium.template.helper/Form/textarea/-">IT</a> | <a href="https://src.hotexamples.com/jp/method/lithium.template.helper/Form/textarea/-">JP</a> | <a href="https://src.hotexamples.com/zh/method/lithium.template.helper/Form/textarea/-">ZH</a> | <a href="https://src.hotexamples.com/ko/method/lithium.template.helper/Form/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는 공백일 수 없습니다."});}}], []); });</script></body> </html>