Hi all !

I would like to add some custom properties associated to each files managed
by owncloud I would like to retrieve this properties throught the webdav
protocol like "<oc:permissions/>", "<oc:size/>" properties.

I write a custom app with a custom table to store my properties for each
file (imitating the "files_tashbin" and "files_version") and now I would
like to retrieve and inject this properties on the webdav protocol.

Looking at Sabre documentation and owncloud source code, I found that I
could extend the 'OC_Connector_Sabre_FilesPlugin' class and override the
'beforeGetProperties' and this should do the trick.

But how can I inject this plugin on the default 'OC_Connector_Sabre_Server'
server when my app is activated ?

Or is there any other way to do that ?

Thanks for any response.



Benoit
_______________________________________________
Devel mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to