Organize docs by category. [closes #84]

Former-commit-id: f4ebda7c32a0ce9c5a86cdb0fd1e689f76557e42
This commit is contained in:
John-David Dalton
2012-10-07 02:19:16 -07:00
parent 8f7d5dcb4d
commit 839e52ba30
7 changed files with 2547 additions and 2392 deletions

View File

@@ -166,6 +166,8 @@ class Entry {
preg_match('#\* *@category\s+([^\n]+)#', $this->entry, $result);
if (count($result)) {
$result = trim(preg_replace('/(?:^|\n)\s*\* ?/', ' ', $result[1]));
} else {
$result = $this->getType() == 'Function' ? 'Methods' : 'Properties';
}
$this->_category = $result;
return $result;