NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
code insight and PHPDOC documentation/comments


Joined: 11 Sep 2005
Posts: 45
Reply with quote
I have this...

Code:
    /**
    * Get row from table
    * @param mixed $condition Conditions for select
    * @return array Row data
    */
    function getRow($condition) {
        ...
    }


Which looks to follow the correct format as shown on the phpdocumentor web site.

But in PHPED in the code insight it shows as:

...::GetRow($condition $condition)
description: Get row from table
parameter: $condition mixed $condition Conditions for select

Shouldnt it be...
...::GetRow(mixed $condition)
description: Get row from table
parameter: mixed $condition Conditions for select
View user's profileFind all posts by bendjSend private message


Joined: 11 Sep 2005
Posts: 45
Reply with quote
Please move this, it is suppose to be in the windows thread.
View user's profileFind all posts by bendjSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I believe that correct PHPDOC would be

Code:
/**
    * Get row from table
    * @param mixed Conditions for select
    * @return array Row data
    */
    function getRow($condition) {
        ...
    }


it understands the parameters in their order

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 10 Feb 2004
Posts: 93
Reply with quote
I copied and pasted your example, and see the following when i invoke the code insight for that function:

View user's profileFind all posts by gilzowSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
it's quite correct as I see

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
code insight and PHPDOC documentation/comments
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic