| @@ 509-516 (lines=8) @@ | ||
| 506 | else if($object instanceof PropertyDoc) |
|
| 507 | { |
|
| 508 | $object->type=$segs[0]; |
|
| 509 | if(isset($segs[1]) && empty($object->description)) |
|
| 510 | { |
|
| 511 | if(($pos=strpos($segs[1],'.'))!==false) |
|
| 512 | $object->introduction=$this->processDescription(substr($segs[1],0,$pos+1)); |
|
| 513 | else |
|
| 514 | $object->introduction=$this->processDescription($segs[1]); |
|
| 515 | $object->description=$this->processDescription($segs[1]); |
|
| 516 | } |
|
| 517 | } |
|
| 518 | } |
|
| 519 | ||
| @@ 526-533 (lines=8) @@ | ||
| 523 | { |
|
| 524 | $segs=preg_split('/\s+/',$comment,2); |
|
| 525 | $object->type=$segs[0]; |
|
| 526 | if(isset($segs[1]) && empty($object->description)) |
|
| 527 | { |
|
| 528 | if(($pos=strpos($segs[1],'.'))!==false) |
|
| 529 | $object->introduction=$this->processDescription(substr($segs[1],0,$pos+1)); |
|
| 530 | else |
|
| 531 | $object->introduction=$this->processDescription($segs[1]); |
|
| 532 | $object->description=$this->processDescription($segs[1]); |
|
| 533 | } |
|
| 534 | } |
|
| 535 | } |
|
| 536 | ||