Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit c6ca048

Browse files
committed
ENH: refs #256. Turn camelcase real methods into dot separated web api methods
1 parent 2d234df commit c6ca048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/api/library/APIEnabledNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function getWebApiHelp()
6464
$description = $doc;
6565
}
6666
}
67-
$name = strtolower($realName);
67+
$name = strtolower(preg_replace('/([^A-Z])([A-Z])/', "$1.$2", $realName));
6868
$help = array();
6969
$help['params'] = $params;
7070
$help['example'] = $example;

0 commit comments

Comments
 (0)