Overview

Packages

  • Hylax
  • None

Classes

  • Hylax
  • Hylax_Driver
  • Hylax_Driver_hylafax
  • Hylax_Driver_spandsp
  • Hylax_Image
  • Hylax_SQL_Attributes
  • Hylax_Storage
  • Hylax_Storage_sql
  • Overview
  • Package
  • Class
  • Tree

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.

Direct known subclasses

Hylax_Storage_sql
Package: Hylax
Author: Marko Djukic marko@oblo.com
Located at Storage.php
Methods summary
public
# Hylax_Storage( array $params )

Constructor

Constructor

Parameters

$params
Any parameters needed for this storage driver.

Throws

Horde_Exception
public
# saveFaxData( mixed $data, mixed $type = '.ps' )
public
# createFax( mixed $info, mixed $fix_owner = false )
public
# getFaxData( mixed $fax_id )
public
# listFaxes( mixed $folder )
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.

# array()
public VFS $_vfs
#
API documentation generated by ApiGen