Line 124:
Line 124:
==番号付けモジュール (Numbering modules)==
==番号付けモジュール (Numbering modules)==
−
For each entity created in the application, Dolibarr assigns a reference. In order to adapt the reference to any use, Dolibarr use modules to define the reference generation rule. Several standard modules are supplied. Some are generic and are used to define the numbering mask (number on x characters, with or without prefix, including the date or not, etc.), which can meet most needs. However, there are still cases where the modules provided don't meet the needs. In this case it is necessary to develop a custom numbering module.
+
For アプリケーションで作成された各エンティティに対して、Dolibarrは参照を割り当てる.どのような用途にも参照を適応できるように、Dolibarrはモジュールを使って参照生成ルールを定義する.いくつかの標準モジュールが提供されてる.あるモジュールは汎用的で、ナンバリングマスクの定義に使用される(x文字の番号、接頭辞の有無、日付の有無、など)。しかし、提供されているモジュールがニーズを満たさない場合もある.この場合、カスタム番号モジュールを開発する必要がある.
−
−
For more information, see [[Create numeration module|Create numbering module]].
+
詳しくは, [[Create numeration module|Create numbering module]] を参照.
==文書テンプレートと文書生成 (Document templates and documents generation)==
==文書テンプレートと文書生成 (Document templates and documents generation)==
−
More documentation about document generation from templates is available to [[Create a PDF document template]] or [[Create an ODT document template]].
+
テンプレートからの文書生成に関して、 [[Create a PDF document template]] や [[Create an ODT document template]] に更なる説明がある.
==エクストラフィールド (Extrafields)==
==エクストラフィールド (Extrafields)==
Line 139:
Line 138:
==他内部機能 (Other internal function)==
==他内部機能 (Other internal function)==
−
There are many internal libraries your code can use.
+
自前コードで利用できる多くの内部ライブラリがある.functions.lib.php、functions2.lib.php、admin.lib.phpに多くの汎用関数が見つかる. htdocs/core/lib/*.lib ファイルにある関数はどれでも使用可.
−
You may find a lot of generic functions in the functions.lib.php, functions2.lib.php or admin.lib.php. Any function found in htdocs/core/lib/*.lib files can be used.
−
'''To specify a requirement based on Dolibarr version number'''
+
'''Dolibarrのバージョン番号に基づく要件を指定するには'''
−
For example, to make a condition based on requiring Dolibarr version > 3.5, you can use versioncompare and versiondolibarrarray found in admin.lib.php:
+
例えば、Dolibarrバージョンの3.5以上を前提条件にするには、 admin.lib.php にある versioncompare と versiondolibarrarray を使用する:
<syntaxhighlight lang="php">
<syntaxhighlight lang="php">