Class Hylax_Storage
Hylax_Storage Class
Copyright 2003-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you
did not receive this file, see http://www.horde.org/licenses/gpl.
Methods summary
public
|
#
Hylax_Storage( array $params )
Constructor
Parameters
- $params
- Any parameters needed for this storage driver.
Throws
Horde_Exception
|
public
|
|
public
|
#
createFax( mixed $info, mixed $fix_owner = false )
|
public
|
|
public
|
|
public
|
#
send( mixed $fax_id, mixed $number )
|
public
Hylax_Storage
&
|
#
factory( string $driver, array $params = array() )
Attempts to return a concrete Hylax_Storage instance based on $driver.
Attempts to return a concrete Hylax_Storage instance based on $driver.
Parameters
- $driver
- <p>The type of concrete Hylax_Storage subclass to
return.</p>
- $params
- <p>A hash containing any additional configuration or
connection parameters a subclass might need.</p>
Returns
Hylax_Storage
The newly created concrete Hylax_Storage
instance, or false on error.
Throws
Horde_Exception
|
public
mixed
&
|
#
singleton( string $driver, array $params = array() )
Attempts to return a reference to a concrete Hylax_Storage instance
based on $driver.
Attempts to return a reference to a concrete Hylax_Storage instance
based on $driver.
It will only create a new instance if no Hylax_Storage instance with the
same parameters currently exists.
This should be used if multiple storage sources are required.
This method must be invoked as: $var = &Hylax_Storage::singleton()
Parameters
- $driver
- <p>The type of concrete Hylax_Storage subclass to
return.</p>
- $params
- <p>A hash containing any additional configuration or
connection parameters a subclass might need.</p>
Returns
mixed The created concrete Hylax_Storage instance, or false on
error.
|
Properties summary
public
array
|
$_params
A hash containing any parameters for the current storage driver.
A hash containing any parameters for the current storage driver.
|
|
public
VFS
|
$_vfs
|
|