| core_net

# Class: Bs_FtpClientFactory Source Location: /core/net/ftp/Bs_FtpClientFactory.class.php
### Class Overview
    Bs_Object
       |
       --Bs_FtpClientFactory
Ftp client factory class. #### Author(s): Andrej Arn <at blueshoes dot org> #### Version: 4.3.$Revision: 1.3 $ $Date: 2003/10/29 17:48:42 $ #### Copyright: blueshoes.org | ### Methods Bs_FtpClientFactory produce supports
### Inherited Variables | ### Inherited Methods #### Class: Bs_Object Bs_Object::Bs_Object() Bs_Object::getErrors() Basic error handling: Get *all* errors as string array from the global Bs_Error-error stack. Bs_Object::getLastError() Basic error handling: Get last error string from the global Bs_Error-error stack. Bs_Object::getLastErrors() Basic error handling: Get last errors string array from the global Bs_Error-error stack sinc last call of getLastErrors(). Bs_Object::persist() Persists this object by serializing it and saving it to a file with unique name. Bs_Object::setError() Basic error handling: Push an error string on the global Bs_Error-error stack. Bs_Object::toHtml() Dumps the content of this object to a string using PHP's var_dump(). Bs_Object::toString() Dumps the content of this object to a string using PHP's var_dump(). Bs_Object::unpersist() Fetches an object that was persisted with persist()
### Class Details [line 34] Ftp client factory class. you may wish to use an ftp implementation, such as the built in from php. but you are not sure if it's possible, for example if the php one is compiled/added/activated in php. so you can use this class to ask what's available and get an object.
     features:
       -
     missing:
       -
     wishlist:
       -
#### Tags:
pattern: | singleton: (pseudostatic)
access: | public
version: | 4.3.$Revision: 1.3 $ $Date: 2003/10/29 17:48:42 $
copyright: | blueshoes.org
author: | Andrej Arn <at blueshoes dot org>
[ Top ] ### Class Methods ### constructor Bs_FtpClientFactory [line 40]
`Bs_FtpClientFactory Bs_FtpClientFactory( )`
constructor [ Top ] ### method produce [line 71]
`object &produce( string $what)`
if you use this without checking supports() first, it's your problem. #### Tags:
see: | $this->supports()
throws: | null
access: | public
#### Parameters:
string | $what | ('php', 'blueshoes' or something else.)
[ Top ] ### method supports [line 51]
`mixed supports( string $what)`
tells if the given implementation exists and is supported. #### Tags:
return: | (bool TRUE=yes, bool FALSE=no, NULL=don't know)
access: | public
#### Parameters:
string | $what | ('php', 'blueshoes' or something else.)
[ Top ] Documentation generated on Mon, 29 Dec 2003 21:10:44 +0100 by phpDocumentor 1.2.3