[Doxygen-users] No inline sources for PHP array variable
Brought to you by:
dimitri
From: Soner T. <li...@ku...> - 2007-05-25 11:12:53
|
Hi All, I am using doxygen 1.5.1 on Ubuntu for my PHP code. It seems like I can fit only 5 array elements in my array variable below if I want to see the code included in doxygen output. For example, if I run doxygen on the array example below, I get an output where doxygen comments are inserted without any inline sources (though INLINE_SOURCES is YES). If I move $DUMMY array line one element up or down (also with the closing parenthesis and semi-colon above it, of course), since the number of elements fall below 6, I can now see the code included in the doxygen output for the shorter array. This is a much larger array actually, and if I run doxygen on the real file, I cannot see on the output any of the variables defined after that array variable forwards. But that may be too long a file to include in this e-mail, so I've created the sample below. Am I doing something wrong? Is there a setting for this? There are arrays within arrays in my sample code, could this be a problem for doxygen? I would appreciate any help. <?php // This was actually one array definition, but to show what I am experiencing // I've split it into 2, see $DUMMY below //! I can only fit 5 array elements as below, otherwise code is not included $ARG_ARRAY= array( // System > Info 'GetMyName' => array( 'argv' => array(FILEPATH), 'desc' => _('Read system hostname'), ), 'GetPhyIfs' => array( 'argv' => array(), 'desc' => _('List physical interfaces'), ), 'GetMyGate' => array( 'argv' => array(FILEPATH), 'desc' => _('Read system gateway'), ), 'GetIpAddr' => array( 'argv' => array(FILEPATH), 'desc' => _('Get IP address'), ), 'GetHosts' => array( 'argv' => array(FILEPATH), 'desc' => _('List hosts'), ), 'SetMyName' => array( 'argv' => array(FILEPATH, NAME), 'desc' => _('Set system hostname'), ), ); //! Move this $DUMMY array definition one record up or down to see the effect $DUMMY= array( 'SetMyGate' => array( 'argv' => array(FILEPATH, IPADR), 'desc' => _('Set system gateway'), ), 'SetNameServer' => array( 'argv' => array(FILEPATH, IPADR), 'desc' => _('Set system nameserver'), ), 'AddHost' => array( 'argv' => array(FILEPATH, HOST), 'desc' => _('Add host'), ), 'DelHost' => array( 'argv' => array(FILEPATH, HOST), 'desc' => _('Delete host'), ), 'GetPfAllowed' => array( 'argv' => array(FILEPATH), 'desc' => _('Get PF allowed'), ), 'SetPfAllowed' => array( 'argv' => array(FILEPATH, IPADR | IPRANGE), 'desc' => _('Set PF allowed'), ), ); ?> |