PHP Class Mnemo_Notepads_Kolab, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file LICENSE for license information (ASL). If you did not receive this file, see http://www.horde.org/licenses/apache.
Author: Gunnar Wrobel ([email protected])
Inheritance: extends Mnemo_Notepads_Base
ファイルを表示 Open project: horde/horde

Public Methods

Method Description
setDefaultShare ( string $share ) Runs any actions after setting a new default notepad.

Protected Methods

Method Description
_getDefaultShareName ( ) : string Return the name of the default share.
_prepareDefaultShare ( Horde_Share_Object $share ) Add any modifiers required to the share in order to mark it as default.

Method Details

_getDefaultShareName() protected method

Return the name of the default share.
protected _getDefaultShareName ( ) : string
return string The name of a default share.

_prepareDefaultShare() protected method

Add any modifiers required to the share in order to mark it as default.
protected _prepareDefaultShare ( Horde_Share_Object $share )
$share Horde_Share_Object The new default share.

setDefaultShare() public method

Runs any actions after setting a new default notepad.
public setDefaultShare ( string $share )
$share string The default share ID.