Jump to content

phpDOC Question


darksniperx

Recommended Posts

Dont know if I am in the right section, But I am trying to use phpDoc to generate documents. And phpdoc ignores my code.

 

<?php
  /**
   * Location Support Page
   *
   * Form that allows users to bypass validation
   * @author Dev Team <devteam@devteam>
   * @version $Id: byPass.php,v 1.0 2008/03/13 13:38:27 cellog Exp $;
   * @package byPass
   */
  
  /**
   * Stores search results.
   * @var string
   * @name $result
   */
  $result = '';
  
  /**
   * @var string
   * @internal Stores sql connection for server A
   */
  $connection = mysql_connect();

?>

 

OUTPUT:

 

Description:

 

Location Support Page

 

 

Form that allows users to bypass validation

 

 

author: Dev Team <devteam@devteam>

version: $Id: byPass.php,v 1.0 2008/03/13 13:38:27 cellog Exp $;

 

 

php doc ignores all of my @var,@internal,@name,.. tags. Any ideas?

 

 

Link to comment
https://forums.phpfreaks.com/topic/96701-phpdoc-question/
Share on other sites

Because you commented it out.

Doc tags go in comments ^_^

 

 

I would say the problem is not in how you're writing your doc tags but how you are generating them.  I don't really have much experience generating doc tags but make sure you are using the program that generates them correctly and setting all of the proper flags.  Other than that maybe someone will have something more for you.

Link to comment
https://forums.phpfreaks.com/topic/96701-phpdoc-question/#findComment-495180
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.