depends"

From Documentation
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  <depends>''a_list_of_addon_names''</depends>
 
  <depends>''a_list_of_addon_names''</depends>
  
It specifies what language addons this addon depends on. If specified, this addon will be parsed after all the specified addons are parsed. Notice that even the dependent addon is missing, the current addon file is still parsed.
+
It specifies which language (e.g. <code>zul</code> or <code>zhtml</code>) or language addon (e.g. <code>zkex</code>, <code>zkmax</code>) this addon depends on. If specified, this addon will be parsed after all the specified addons are parsed. Notice that the dependent addon is missing, but the current addon file is still parsed.
  
 
Example,
 
Example,
Line 12: Line 12:
 
</source>
 
</source>
  
which means this addon won't be parsed until both <tt>zkex</tt> and <tt>zkmax</tt> are parsed.
+
which means this addon won't be parsed until both <code>zkex</code> and <code>zkmax</code> are parsed.
  
 
=Version History=
 
=Version History=

Latest revision as of 02:57, 3 April 2023


Syntax:

<depends>a_list_of_addon_names</depends>

It specifies which language (e.g. zul or zhtml) or language addon (e.g. zkex, zkmax) this addon depends on. If specified, this addon will be parsed after all the specified addons are parsed. Notice that the dependent addon is missing, but the current addon file is still parsed.

Example,

<depends>zkex, zkmax</depends>

which means this addon won't be parsed until both zkex and zkmax are parsed.

Version History

Last Update : 2023/04/03


Version Date Content
     



Last Update : 2023/04/03

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.