Saving Custom Components
From Delphi for PHP Documentation Wiki
Summary: Describes how to install custom components onto the Tool Palette.
After you have created a custom component, save the component files to the RadPHP XE rpcl folder.
| Note: |
Your custom components must be inside the RadPHP XE rpcl folder for the IDE to find them. Create a subfolder for your custom components in the rpcl folder. Putting your components into subfolders enables you to build your own libraries without affecting the RPCL code base and makes deployment easier. |
To save custom components
- Select the package file (<default component name>.package.php) in RadPHP XE and choose File
Save As.
- Navigate to the <RadPHP>/rpcl folder in the Save As dialog box.
- Click the New Folder icon in the Save As dialog box and create a subfolder for your component inside the rpcl folder (for example <RadPHP>/rpcl/MyCustomComponents).
- Go into the new folder and save the package file with a new name (for example, MyCustomComponents.package.php).
- Select the component file (<default component name>.inc.php) and save it to the same subfolder with a new name (for example, MyMenu.inc.php).
- Save any additional files for the component to the same library subfolder as the first component file, renaming them as you do.

