Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.