<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
<meta type="array">
<type>database</type>
<description>Language labels for extension 'dagou_user'</description>
</meta>
<data type="array">
<languageKey index="default" type="array">
<!-- Email -->
<label index="email_notify_employer_body"><![CDATA[A new Employer has signed up!<br /><br />Account Name: ###USERNAME###<br />Email: ###EMAIL###<br />Full Name: ###NAME###<br />Company Name: ###COMPANY###<br />Location: ###CITY### ###STATE###, ###ZIP###]]></label>
<label index="email_notify_employer_subject">New Employer</label>
...
</languageKey>
</data>
</T3locallang>
以上代码取自locallang_dagouuser.xml
,同时我正在阅读此文档:http ://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/7/2/
问题:
对于
type="array"
,我可以分配任何其他值type
吗?比如type="string"
……<type>database</type>
,文件中说"database" : Used for labels of database tables and fields.
,这是什么意思?我如何将这些标签与数据库表和字段一起使用?