Menu

Core - first module methods

first module methods are available
--> static class MODULE::xyz()
--> package() --> namespace for current module
--> requiremod() --> module can be only used by being nested into modules stated as attributes --> i.e. package("PRINT")
--> import() --> import classes from other modules into this one and can be used normally
-->visible("FILE") --> the arrangement of this module in the hole module tree, i.e. this module will be placed after module FILE as sub-module
-->version() --> Version info of this module
-->author() --> author
-->description() --> additional infos

-------------------------------------------------
first idea was to use an xml based document foreach module, but this seperates the logic of two things which seems to e together, so i think it's more logical this way. the class MODULE is declared in the core and so accessable out of any module

Posted by Nico 2004-06-27

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.