[FIX] registration: Missing global replaced by static lib call

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@47392 b456876b-0849-0410-b77d-98878d47e9d5
[FIX] registration: Declare private functions as private (instead of just having a comment on a public one).
Fix some doc comment warnings: "datas" is not a php variable type (or even English), various other minor fixes.

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@47393 b456876b-0849-0410-b77d-98878d47e9d5
[KIL] registration: Remove unused function

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@47394 b456876b-0849-0410-b77d-98878d47e9d5