Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:My profile API

From MoodleDocs
Revision as of 17:37, 8 May 2015 by Eloy Lafuente (stronk7) (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Q: If myprofile is an API, why?

  1. It does not own the "myprofile" level2 namespace? But instead...
  2. ...its classes are within "output" (correct level2) API @ level3 namespace.

I really would expect them under "component/myprofile", allowed to use output classes, np with that. But to have it, as a whole, under "component/output/myprofile".... or it's an API or it's a part of the "output" API, but cannot be both things at the same time.

This needs a bit of discussion, IMO. Concrete APIs using general APIs.

PS: Also, if it's a valid API, it needs "(myprofile)" in the APIs page, or the phpdoc checker won't be aware of it.

Eloy Lafuente (stronk7) (talk) 01:34, 9 May 2015 (AWST)