__construct() __construct(\Horde_Share_Base $shares, string $user, array $params) Constructor. Parameters \Horde_Share_Base $shares The share backend. string $user The current user. array $params Additional parameters.
createDefaultShare() createDefaultShare() : \Horde_Share_Object Create the default calendar share for the current user. Returns \Horde_Share_Object — The new default share.
getDefaultShare() getDefaultShare() : string Returns the default share's ID, if it can be determined from the share backend. Returns string — The default share ID.
setDefaultShare() setDefaultShare(string $share) Runs any actions after setting a new default tasklist. Parameters string $share The default share ID.
_getDefaultShareName() _getDefaultShareName() : string Return the name of the default share. Returns string — The name of a default share.
_prepareDefaultShare() _prepareDefaultShare(\Horde_Share_Object $share) Add any modifiers required to the share in order to mark it as default Parameters \Horde_Share_Object $share The new default share.