Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7929179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:59:22+00:00 2026-06-03T19:59:22+00:00

I’m developing a web site using codeigniter framework. To document it, I’ve installed doxygen.

  • 0

I’m developing a web site using codeigniter framework. To document it, I’ve installed doxygen. Something weird is happening when doxygen meets files with the following structure:

<?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 */

This is the only files that are been skipped, other files with the usual structure in codeigniter are documented as they should.

<?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 */
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T19:59:24+00:00Added an answer on June 3, 2026 at 7:59 pm

    I’m not sure how closely the examples you provided match your actual application, but for the original example code above:

    Your class declarations do not appear to be closed (missing }). This will prevent doxygen from parsing the class declaration, and it will be skipped. Adding the closing } allows doxygen to fully parse the class, and it should be included in the documentation, however no documentation will appear for the class or its member functions, and __construct will not be listed as a member function.

    Once this change is made, Doxygen 1.8.0 reports two warnings while processing the contents:

    catalogo.php:6: warning: Compound Catalogo is not documented.
    catalogo.php:13: warning: Member foo() (function) of class Catalogo is not documented.
    

    The first is related to the empty @class markup. Doxygen expects @class to be immediately followed by the class name that the comment applies to, and is typically used when the doxygen is not located next to the construct it describes. In this case, @class can be removed since the Catalogo class declaration immediately follows it. Alternatively, you can also specify @class Catalogo explicitly. Making this change will silence the first warning, and will cause the documentation for Catalogo to appear in the doxygen output, however __construct will still be absent and foo will not be linked to a detailed description.

    To address the second warning, you’ll need to provide documentation for foo, something like:

    /**
     * Documentation for foo.
     */
    public function foo(){
    }
    

    This change will cause foo to appear in the documentation with a link to its detailed description. __construct will still not be present, however adding similar documentation for it:

    /**
     * Documentation for __construct.
     */
    public function __construct() {         
    }
    

    causes both functions to appear with links to their detailed descriptions. This all assumes a default doxygen configuration (doxygen -g) and Doxygen 1.8.0. The final code I tested (and which appears to work fine) was:

    <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
    /**
     * @brief The class brief 
     */
    class Catalogo extends CI_Controller {
        /**
         * Documentation for __construct.
         */
        public function __construct(){         
            parent::__construct();
            $this->load->model('catalogomodel');
            $this->load->library('img');
        }
    
        /**
         * Documentation for foo.
         */
        public function foo(){
            ..some code..
        }
    }
    /* End of file catalogo.php */
    /* Location: ./application/controllers/catalogo.php */
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have thousands of HTML files to process using Groovy/Java and I need to
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I have a French site that I want to parse, but am running into
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.