Update alias style in docs.

Former-commit-id: d7b1eb9999f535c365ce3ea6251a359c7d901769
This commit is contained in:
John-David Dalton
2012-09-04 23:47:27 -07:00
parent 8abc2925e0
commit 019f0153c8
3 changed files with 17 additions and 15 deletions

View File

@@ -232,7 +232,7 @@ class Generator {
// append entry to api category
if (!$member || $entry->isCtor() || ($entry->getType() == 'Object' &&
!preg_match('/[=:]\s*null\s*[,;]?$/', $entry->entry))) {
!preg_match('/[=:]\s*(?:null|undefined)\s*[,;]?$/', $entry->entry))) {
// assign the real entry, replacing the temporary entry if it exist
$member = ($member ? $member . ($entry->isPlugin() ? '#' : '.') : '') . $name;
@@ -412,7 +412,7 @@ class Generator {
foreach ($aliases as $index => $alias) {
$aliases[$index] = $alias->getName();
}
$result[] = implode(', ', $aliases);
$result[] = '*' . implode(', ', $aliases) . '*';
}
// @param
if (count($params = $subentry->getParams())) {