In file D:\oblib-core\php\oblib\dataReflection\dataReflection.class.php between lines 234 and 273.
<?php
class dataReflectionDocComment extends dataSeries
{
function __construct ($strDocComment)
{
parent::__construct ('ReflectionDocComment', 'dataReflectionDocCommentParam');
if (!$strDocComment)
{
return;
}
// Get rid of any prefixed spaces and asterixes
preg_match ('/^\/\*\*\r\s{0,}(.*)\s+\*\/$/misU', $strDocComment, $arrDocComment);
$arrDocCommentLine = preg_split ("/\n/", trim ($arrDocComment [1]));
$objCurrentParam = $this->___Push (new dataReflectionDocCommentParam ('description', ''));
foreach ($arrDocCommentLine as $strDocCommentLine)
{
preg_match ('/^\s{0,}\*(.*)$/misU', $strDocCommentLine, $arrLine);
$strLine = trim ($arrLine [1]);
if (preg_match ('/^\@([\w\-]*)(.*)$/mis', $strLine, $arrParamPair))
{
$strCurrentParam = $arrParamPair [1];
$strValue = $arrParamPair [2];
$objCurrentParam = $this->___Push (new dataReflectionDocCommentParam ($strCurrentParam, trim ($strValue)));
}
else
{
$objCurrentParam->___setValue (
$objCurrentParam->___getValue () . "\n" . $strLine
);
}
}
}
}
?>