You need a SAPI parser to use SAPI in your CMS. You may either use an available PHP solution designed by Red Graphic Systems, or develop your own parser based on the recommendations of the SAPI work group (for details please refer to
Model of a Managed Site).