* @license PHP License * @package WB * @subpackage base */ WBClass::load('WBVFS_WebDAV'); /** * Service WebDAV * * Wrap WBVFS_WebDAV * * @version 1.0.0 * @package WB * @subpackage base */ class WBService_WebDAV extends WBStdClass { /** * DAV server * @var WBVFS_WebDAV */ private $dav; /** * constructor * * @see WBVFS_WebDAV::__construct() * @param array $parameter */ public function __construct($parameter = array()) { $this->dav = WBClass::create('WBVFS_WebDAV', $parameter); } /** * Serve * * dispatch request to WebDAV * * @return bool true on success */ public function serve() { $this->dav->ServeRequest(); return true; } }