|
The Scriptcase allows the user to catalog his PHP scripts to use in various applications.
To catalog the scripts go to the ScriptCase main menu at "Tools > Library" and use the "upload" option existing in the interface.
When a script is cataloged, the user has the option of the context choice where it will be stored, global level (Scriptcase), group level or user level. - Public: All the projects will have access. - Project: Only the project users (the ones that will be logged at that time) will have access. - User: Only the user (the ones that will be logged at that time) will have access.
The sc_include macro, the user must inform the script name that will be included and the source. - Script Name: Script name to be included.
The Source context that the script was saved, that could be: - Sys or Blank: Scriptcase global level. - Prj: Group level. - Usr: User level.
Ex. 1: Including a catalogued script to global level. sc_include(my_script.php);
Ex. 2: Including a catalogued script to the group level. sc_include(my_script.php, grp);
Ex. 3: Including a catalogued script to the user level. sc_include(my_script.php, usr);
|