WebBuilder2

AdvancedSearch | AreaMap ]

Search:

  HomePage   News   Getting Started Guide   WebBuilder2   CurrentStateOfAffairs  
  Getting Started Guide   Getting the code   Using the Installer   Logging In   CMS Management   Sitemap Management   Creating Modules  

Username:

Password:


Areas In
This Wiki

BEPHPUG

Conferences

emPHPower

LiveUser

Main

MDB2

PDO

PEARThinkTank

PHPSVN

PHPTODO

RDBMS

WebBuilder2

Creating Modules

Just to give some pointers.
Currently the module that uses all the latest infrastructure code is the "installer" module. Its easy enough so that it should be a good starting point.

Generally a module consists of a file with the name of the module in the modules dir inside a directory with the same name as the module. You can stick any additional files you want in that dir beyond that. Inside that file you define a class with the name of the module, and usually extend from module_common. From the outside the only relevant methods are the stage1(), stage2() and stage3() methods. You can find more information about the stages in the StageLoader section.

WebBuilder2:DocExtendingCode (212.202.40.148)
Mon, 30 May 2005, 16:51
[ Links | Source | History | RSS ]

This site powered by YaWiki 0.22 beta.


No user comments exist for this page.

Add A Comment
Email:
*Comment:
Catpcha:
* denotes required field

Your comment will be added immediately; please check your comments, and be nice. :-)

Please use plain text only; HTML and PHP code will be converted to entities.

Your email address will be obfuscated with [AT] and [DOT] after you post your comment.