I am documenting my CakePHP application using PHPdocumentor . As you probably know, after the CakePHP convention, the views are contained in .ctp files (for example, app / views / addresses / index.ctp), which are basically normal PHP files with only the file extension changed. PHPdocumentor only recognizes .php files, and I cannot find a parameter in the configuration file to tell it about .ctp files. This section is closest to what I want:
But, as it seems, it does not activate such wildcards as *.php, and I really do not want to write a list of 50 view files to this configuration file (if there is no better solution). Is there any way to configure phpdoc globally to include .ctp files, or do I need to change this to a somewhat hacky one, somewhere in the phpdoc source?
source
share