是否有可能将图像包含在phpdocumentor编写的docbook手册中?
我都试过了:
<mediaobject>
<imageobject>
<imagedata fileref="payment_flowchart.png" format="png"/>
</imageobject>
</mediaobject>
还有:
<figure><title>foo</title>
<graphic fileref="payment_flowchart.png"/>
</figure>
再说一次,我尝试的图像路径可能不是phpdocumentor所期望的,但我不知道到底该把它们放在哪里。
也许有人曾经尝试过,并取得了更大的成功?
更新
当前非工作方法:
<refentry id="{@id}">
<refnamediv>
<refname>Company_Payment</refname>
</refnamediv>
<refsynopsisdiv>
<author>
Company
<authorblurb>
{@link mailto:my@mail.com André Hoffmann}
</authorblurb>
</author>
</refsynopsisdiv>
{@toc}
<refsect1 id="{@id about}">
<title>About</title>
<para>
text
<imagedata fileref="/Users/andre/Zend/workspaces/DefaultWorkspace7/payment/doc/tutorials/company/payment_flowchart.png" format="PNG"/>
</para>
<imagedata fileref="/Users/andre/Zend/workspaces/DefaultWorkspace7/payment/doc/tutorials/company/payment_flowchart.png" format="PNG"/>
<mediaobject>
<imageobject>
<imagedata fileref="/Users/andre/Zend/workspaces/DefaultWorkspace7/payment/doc/tutorials/company/payment_flowchart.png" format="PNG"/>
</imageobject>
</mediaobject>
<figure><title>foo</title>
<graphic srccredit="Norman Walsh, 1998" fileref="/Users/andre/Zend/workspaces/DefaultWorkspace7/payment/doc/tutorials/company/payment_flowchart.png"/>
</figure>
</refsect1>
...