Digging up this...
On 04/23/2012 05:23 PM, Frank Karlitschek wrote:
<....>
So lets use the OC, OCP and OCA_<appid> namespaces.
I heard that this wasn´t clear enough.
Yes. We use the PHP namespaces :-)
<....>
I refactored my LDAP app a bit and while doing so i extended our
autoload function with support for the OCA namespace.
E.g. i can have now stuff like this in apps/user_ldap/ and this way
extend a class in apps/user_ldap/lib/
namespace OCA\user_ldap;
class USER_LDAP extends lib\Access { ... }
It is not forced to use a namespace, other apps will work as they did
before. Nevertheless, since we agreed some time ago on using those
namespaces it's not a bad idea to switch to this pattern, betimes.
Cheers
Arthur
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud