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_Image

Hylax_Image 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.

Package: Hylax
Author: Marko Djukic marko@oblo.com
Located at Image.php
Methods summary
public
# Hylax_Image( )

Constructor

Constructor

public
# loadData( mixed $data )
public
# getDimensions( )
public
# getNumPages( )
public
# getImage( mixed $page, mixed $preview = false )
public
# getPDF( )
public Hylax_Image &
# factory( string $driver, array $params = array() )

Attempts to return a concrete Hylax_Image instance based on $driver.

Attempts to return a concrete Hylax_Image instance based on $driver.

Parameters

$driver
<p>The type of concrete Hylax_Image subclass to return.</p>
$params
<p>A hash containing any additional configuration or connection parameters a subclass might need.</p>

Returns

Hylax_Image

The newly created concrete Hylax_Image instance, or false on an error.

Throws

Horde_Exception
public mixed &
# singleton( string $driver, array $params = array() )

Attempts to return a reference to a concrete Hylax_Image instance based on $driver.

Attempts to return a reference to a concrete Hylax_Image instance based on $driver.

It will only create a new instance if no Hylax_Image instance with the same parameters currently exists.

This should be used if multiple image sources are required.

This method must be invoked as: $var = &Hylax_Image::singleton()

Parameters

$driver
<p>The type of concrete Hylax_Image 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_Image instance, or false on error.

Properties summary
public mixed $_data
#
public mixed $_cmd
#
public array $_pages
# array()
API documentation generated by ApiGen