Documentation

Public methods reference

Method

Since

Description

CYap CYap( [array $search_field = array()], [array $show_field = array()], [array $db_info = array()], [array $show_info = array()], [array $modify_info = array()] )

1.0.0

Istance the class. It takes 5 parameters. These parameters allow you to configure the class. You may omit those parameter and use the configuration file. In that case you must provide the configuration file name.

void showpage( [string $ForcedEvent = ''] )

1.0.0

Show the HTML page. The parameter allows you to force the event to process. If it is omitted Yap looks for $_REQUEST['ev'], if exists. If it don't find the parameter it assumes to be the first time the module run.

boolean RegisterEvent( string $EventName, string $Handler )

2.0.0

Set the handler to custom events or modify the default handler to defined events.