apache > cocoon
 

Php Generator

Php Generator

????.

  • Name : php
  • Class: org.apache.cocoon.generation.PhpGenerator
  • Cacheable: no.

This generator is optional and not available in the binary distribution. However if you want to use it, you have to retrieve the php java servlet, copy the jar file into the lib directory of cocoon and rebuild.

     
  <map:generate type="php"/>
     
Note
The PHPGenerator is deprecated in Cocoon 2.1.x, and will be removed in 2.2. If you still need to integrate PHP and Cocoon, please consider simply using the FileGenerator pointed at a PHP script accessible over HTTP.