[dev] Referencing Horde_Shares from other entities

Michael J Rubinsky mrubinsk at horde.org
Sun Oct 29 19:09:17 UTC 2017


Quoting Ralf Lang <lang at b1-systems.de>:

> Hallo,
>
> for Horde_Shares, it seems like there are two distinct concept - the
> share_name, which usually is not an actual name but a random string and
> the share_id which seems to be a simple autoincrement key.
>
> It looks like in almost all cases, the preferred key to reference a
> share is by share_name rather than share_id.
>
> Is it safe to ignore the share_id and always go for the share_name in
> new code?

IIRC, the id is needed only when considering parent/child hierarchies.



> --
> Ralf Lang
> Linux Consultant / Developer
> Tel.: +49-170-6381563
> Mail: lang at b1-systems.de
> B1 Systems GmbH
> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
> --
> dev mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/dev/attachments/20171029/ca6693b2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 821 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/dev/attachments/20171029/ca6693b2/attachment-0001.bin>


More information about the dev mailing list