Skip to content

Commit

Permalink
phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 22, 2015
1 parent 5f83a8e commit 717302f
Showing 1 changed file with 28 additions and 20 deletions.
48 changes: 28 additions & 20 deletions framework/Vfs/lib/Horde/Vfs/Smb.php
@@ -1,33 +1,41 @@
<?php
/**
* Codebase copyright 2002 Paul Gareau <paul@xhawk.net>. Adapted with
* permission by Patrice Levesque <wayne@ptaff.ca> from phpsmb-0.8 code, and
* converted to the LGPL. Please do not taunt original author, contact
* Patrice Levesque or dev@lists.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.
*
* @author Paul Gareau <paul@xhawk.net>
* @author Patrice Levesque <wayne@ptaff.ca>
* @package Vfs
*/

/**
* Stateless VFS implementation for a SMB server, based on smbclient.
*
* Required values for $params:
* <pre>
* username - (string)The username with which to connect to the SMB server.
* password - (string) The password with which to connect to the SMB server.
* hostspec - (string) The SMB server to connect to.
* port' - (integer) The SMB port number to connect to.
* share - (string) The share to access on the SMB server.
* smbclient - (string) The path to the 'smbclient' executable.
* </pre>
* - username: (string) The username with which to connect to the SMB server.
* - password: (string) The password with which to connect to the SMB server.
* - hostspec: (string) The SMB server to connect to.
* - port: (integer) The SMB port number to connect to.
* - share: (string) The share to access on the SMB server. Any trailing
* paths will removed from the share and prepended to each path
* in further requests. Example: a share of 'myshare/basedir' and
* a request to 'dir/subdir' will result in a request to
* 'basedir/dir/subdir' on myshare.
* - smbclient: (string) The path to the 'smbclient' executable.
*
* Optional values for $params:
* <pre>
* ipaddress - (string) The address of the server to connect to.
* </pre>
* - ipaddress: (string) The address of the server to connect to.
*
* Functions not implemented:
* - changePermissions(): The SMB permission style does not fit with the
* module.
*
* Codebase copyright 2002 Paul Gareau <paul@xhawk.net>. Adapted with
* permission by Patrice Levesque <wayne@ptaff.ca> from phpsmb-0.8 code, and
* converted to the LGPL. Please do not taunt original author, contact
* Patrice Levesque or dev@lists.horde.org.
* - changePermissions(): The SMB permission style does not fit with the
* module.
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/licenses/lgpl21.
* All paths need to use forward slashes!
*
* @author Paul Gareau <paul@xhawk.net>
* @author Patrice Levesque <wayne@ptaff.ca>
Expand Down

0 comments on commit 717302f

Please sign in to comment.