Как добавить документацию для моих функций в Netbeans PHP?

Я пробовал следующее,

/*
 * addRelationship
 *
 * Adds a relationship between two entities using the given relation type.
 *
 * @param fromKey the original entity
 * @param toKey the referring entity
 * @param relationTypeDesc the type of relationship
 */

function addRelationship($fromKey, $toKey, $relationTypeDesc) {
    $relationTypeKey = $this->getRelationTypeKey($relationTypeDesc);

Но когда я пытался использовать его в другом месте, он говорит, что PHPDoc не найден.

alt text

Any Есть идеи, как заставить это работать в NetBeans PHP?

ОБНОВЛЕНИЕ:

Ниже приводится обновленный синтаксис, который будет работать в NetBeans PHP -

/** 
 * addRelationship
 *
 * Adds a relationship between two entities using the given relation type.
 *
 * @param integer $fromKey the original entity
 * @param integet $toKey the referring entity
 * @param string $relationTypeDesc the type of relationship
 */

function addRelationship($fromKey, $toKey, $relationTypeDesc) {
31
задан Lenin Raj Rajasekaran 5 December 2010 в 20:29
поделиться