commit | author | age
|
8bd4d9
|
1 |
<?php |
JK |
2 |
interface module { |
|
3 |
static function register_cmd(); |
|
4 |
// Returns: |
|
5 |
// array( |
|
6 |
// 'CMD1_NAME' => 'FUNCTION_INSIDE_CLASS', |
|
7 |
// 'CMD2_NAME' => 'FUNCTION_INSIDE_CLASS', |
|
8 |
// ... |
|
9 |
// ) |
|
10 |
|
|
11 |
static function help($cmd=NULL); |
|
12 |
// Return help content about command $cmd to GGapi::put*() functions |
|
13 |
// if $cmd is NULL return help content for all commands |
|
14 |
|
|
15 |
// static function FUNCTION_INSIDE_CLASS(CMD_NAME, REST_OF_PLAINTEXT) |
|
16 |
// REST_OF_PLAINTEXT is raw (non trimmed etc.) part after command name, without leading space |
|
17 |
} |
|
18 |
?> |