PHP Class Horde_Kolab_FreeBusy_Provider_Remote, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: implements Horde_Kolab_FreeBusy_Provider
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( Horde_Kolab_FreeBusy_Owner $owner, Horde_Controller_Request $request ) Constructor

Protected Methods

Method Description
getUrl ( ) : string Generate the remote URL.
getUrlWithCredentials ( string $username, string $password ) : string Generate the URL for triggering data on a remote system.

Private Methods

Method Description
_getUrl ( string $server, string $path ) : string Construct the final URL.

Method Details

__construct() public method

Constructor
public __construct ( Horde_Kolab_FreeBusy_Owner $owner, Horde_Controller_Request $request )
$owner Horde_Kolab_FreeBusy_Owner The owner of the data.
$request Horde_Controller_Request The current request.

getUrl() protected method

Generate the remote URL.
protected getUrl ( ) : string
return string The URL

getUrlWithCredentials() protected method

Generate the URL for triggering data on a remote system.
protected getUrlWithCredentials ( string $username, string $password ) : string
$username string The user accessing the data.
$password string The user password.
return string The URL