support / src_en /api.get_modules.txt
gofeco's picture
Upload 100 files
fe683c0 verified
raw
history blame
No virus
643 Bytes
<h3 id='___get_modules'>get_modules</h3>
<pre>Get modules under current module (LLM: submodules)
<b>Usage:</b> @modules = get_modules($pattern, @options);
$pattern: Match pattern, can have wildcard "*", if it is empty, it is treated as "*"
@options:
-help: Print this information
-hier: Get all modules hierarchically
@modules: Modules list, ("module0", "module1", ...)
<b>Examples:</b>
@modules = get_modules("*TM*"); # Any hierarchical modules with TM in the name.
@modules = get_modules; # All hierarchical modules.
@modules = get_modules("-hier"); # All hierarchical modules and sub-modules under current module.
</pre>