我正在使用 codeigniter 框架开发一个网站。为了记录它,我安装了 doxygen。当 doxygen 遇到具有以下结构的文件时,会发生一些奇怪的事情:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* @class
* @brief The class brief
*/
class Catalogo extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model('catalogomodel');
$this->load->library('img');
}
public function foo(){
..some code..
}
/* End of file catalogo.php */
/* Location: ./application/controllers/catalogo.php */
这是唯一被跳过的文件,codeigniter 中具有通常结构的其他文件按应有的方式记录在案。
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* @class
* @brief The class brief
*/
class Catalogo extends CI_Controller {
public function index(){
...some code to load models, libraries and views ...
}
/* End of file catalogo.php */
/* Location: ./application/controllers/catalogo.php */