fsm:install_fsm
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| fsm:install_fsm [2007/12/22 14:45] – external edit 127.0.0.1 | fsm:install_fsm [2020/11/23 17:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * PHP 5.x | * PHP 5.x | ||
| * Compatible with PHP-GTK 2 | * Compatible with PHP-GTK 2 | ||
| - |   * Obtain the current source  | + |   * Obtain the current source  | 
| * Create a misc.php as described below | * Create a misc.php as described below | ||
| * That's all | * That's all | ||
| Line 13: | Line 13: | ||
| By default, u_fsm.php needs the function func_name() to be defined in an included file called misc.php . This is because, until some refactoring is done, misc.php is part of OSInet Office 5, which is unpublished proprietary code. A sample implementation of func_name() is: | By default, u_fsm.php needs the function func_name() to be defined in an included file called misc.php . This is because, until some refactoring is done, misc.php is part of OSInet Office 5, which is unpublished proprietary code. A sample implementation of func_name() is: | ||
| - | <php> | + | <code php> | 
| /** | /** | ||
|  * returns the name of the invoking function/ |  * returns the name of the invoking function/ | ||
| Line 28: | Line 28: | ||
| return $func; | return $func; | ||
| } | } | ||
| - | </php> | + | </code> | 
| Just paste this in a misc.php file of your own and you can use the FSM. | Just paste this in a misc.php file of your own and you can use the FSM. | ||
| + | |||
fsm/install_fsm.1198334708.txt.gz · Last modified:  (external edit)
                
                