|
|
@@ -1,6 +1,6 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<!-- Reviewed: no -->
|
|
|
-<!-- EN-Revision: 24249 -->
|
|
|
+<!-- EN-Revision: 24852 -->
|
|
|
<sect1 id="zend.form.standardDecorators">
|
|
|
<title>Zend Framework に同梱されている標準のデコレータ</title>
|
|
|
<!-- Skip-EN-Revisions: 21995 -->
|
|
|
@@ -91,7 +91,7 @@ class Util
|
|
|
を渡すか、あるいは <methodname>setTag()</methodname> をコールします。
|
|
|
さらに、そのタグにクラスを指定することもできます。これは、オプション
|
|
|
<code>class</code> あるいはメソッド
|
|
|
- <methodname>setClass()</methodname> で指定します。
|
|
|
+ <methodname>setOption('class', 'foo')</methodname> で指定します。
|
|
|
デフォルトで使用するクラスは 'hint' です。
|
|
|
</para>
|
|
|
|
|
|
@@ -375,9 +375,40 @@ class Util
|
|
|
|
|
|
<para>
|
|
|
デフォルトでは、Label デコレータは元のコンテンツの先頭に結果を追加します。
|
|
|
- 'placement' オプションを 'append' にすると、
|
|
|
- コンテンツの末尾に追加できます。
|
|
|
+ これは、下記の 'placement' オプションのうちの一つを指定することによってコントロールできます。
|
|
|
</para>
|
|
|
+
|
|
|
+ <!-- TODO : to be translated -->
|
|
|
+ <itemizedlist>
|
|
|
+ <listitem>
|
|
|
+ <para>
|
|
|
+ <property>PREPEND</property>: render the label before the
|
|
|
+ content.
|
|
|
+ </para>
|
|
|
+ </listitem>
|
|
|
+
|
|
|
+ <listitem>
|
|
|
+ <para>
|
|
|
+ <property>APPEND</property>: render the label after the
|
|
|
+ content.
|
|
|
+ </para>
|
|
|
+ </listitem>
|
|
|
+
|
|
|
+ <listitem>
|
|
|
+ <para>
|
|
|
+ <property>IMPLICIT_PREPEND</property>: render the element
|
|
|
+ inside the label tag, placing the label text before the content.
|
|
|
+ </para>
|
|
|
+ </listitem>
|
|
|
+
|
|
|
+ <listitem>
|
|
|
+ <para>
|
|
|
+ <property>IMPLICIT_APPEND</property>: render the element
|
|
|
+ inside the label tag, placing the label text after the content.
|
|
|
+ </para>
|
|
|
+ </listitem>
|
|
|
+ </itemizedlist>
|
|
|
+
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="zend.form.standardDecorators.prepareElements">
|
|
|
@@ -402,6 +433,17 @@ $form->setDecorators(array(
|
|
|
]]></programlisting>
|
|
|
</sect2>
|
|
|
|
|
|
+ <sect2 id="zend.form.standardDecorators.tooltip">
|
|
|
+ <title>Zend_Form_Decorator_Tooltip</title>
|
|
|
+
|
|
|
+ <!-- TODO : to be translated -->
|
|
|
+ <para>
|
|
|
+ The Tooltip decorator translates the title attribute if it is
|
|
|
+ available, if the translator is available and if the translator is
|
|
|
+ not disable on the element being rendered.
|
|
|
+ </para>
|
|
|
+ </sect2>
|
|
|
+
|
|
|
<sect2 id="zend.form.standardDecorators.viewHelper">
|
|
|
<title>Zend_Form_Decorator_ViewHelper</title>
|
|
|
|