depends"

From Documentation
(Created page with '{{ZKDevelopersReferencePageHeader}} '''Syntax:''' <depends>''a_list_of_addon_names''</depends> It specifies what language addons this addon depends on. If specified, this addo…')
 
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{ZKDevelopersReferencePageHeader}}
+
{{ZKClient-sideReferencePageHeader}}
  
 
'''Syntax:'''
 
'''Syntax:'''
 
  <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 specified addons are 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 util 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=
 
{{LastUpdated}}
 
{{LastUpdated}}
Line 23: Line 24:
 
|}
 
|}
  
{{ZKDevelopersReferencePageFooter}}
+
{{ZKClient-sideReferencePageFooter}}

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.