Class Laika_Image

Description

Laika_Image class.

  • extends: Laika

Located in /library/util/Image.php (line 22)

Laika
   |
   --Laika_Image
Variable Summary
mixed $image
mixed $type
Method Summary
static void api_path (mixed $path, mixed $function, mixed $param, [ $nocache = false])
static void dimensions (mixed $src)
void __construct ([mixed $src = NULL], [mixed $action = NULL], [mixed $dimension = NULL], [mixed $save = NULL])
void auto_resize (mixed $constraint)
void constrain (mixed $x, [mixed $y = NULL])
void crop (mixed $width, mixed $height, mixed $new_width, mixed $new_height)
void fixed_height ( $length, mixed $height)
void fixed_width ( $length, mixed $width)
void height ()
void is_larger (mixed $x, mixed $y)
void open (mixed $file)
void optimal (mixed $x, mixed $y)
void orientation ()
void output ([mixed $type = IMAGETYPE_PNG])
void reflection (mixed $path, mixed $param)
void reflection_plus (mixed $path, mixed $param, [int $percent = 30], [int $transparency = 30])
void resize (mixed $width, mixed $height)
void save (mixed $name, [mixed $type = IMAGETYPE_PNG], [int $compression = 75], [mixed $permissions = NULL])
void scale (mixed $scale)
void square (mixed $length)
void width ()
Variables
mixed $image (line 24)
  • access: private
mixed $type (line 25)
  • access: private
Methods
static method api_path (line 399)

api_path function.

  • access: public
static void api_path (mixed $path, mixed $function, mixed $param, [ $nocache = false])
  • mixed $path
  • mixed $function
  • mixed $param
  • $nocache
static method dimensions (line 205)

dimensions function.

  • access: public
static void dimensions (mixed $src)
  • mixed $src
Constructor __construct (line 37)

__construct function.

  • access: public
void __construct ([mixed $src = NULL], [mixed $action = NULL], [mixed $dimension = NULL], [mixed $save = NULL])
  • mixed $src: (default: NULL)
  • mixed $action: (default: NULL)
  • mixed $dimension: (default: NULL)
  • mixed $save: (default: NULL)

Redefinition of:
Laika::__construct()
__construct function.
auto_resize (line 273)

auto_resize function.

  • access: public
void auto_resize (mixed $constraint)
  • mixed $constraint
constrain (line 304)

constrain function.

  • access: public
void constrain (mixed $x, [mixed $y = NULL])
  • mixed $x
  • mixed $y: (default: NULL)
crop (line 378)

crop function.

  • access: private
void crop (mixed $width, mixed $height, mixed $new_width, mixed $new_height)
  • mixed $width
  • mixed $height
  • mixed $new_width
  • mixed $new_height
fixed_height (line 220)

fixed_height function.

  • access: public
void fixed_height ( $length, mixed $height)
  • mixed $height
  • $length
fixed_width (line 233)

fixed_width function.

  • access: public
void fixed_width ( $length, mixed $width)
  • mixed $width
  • $length
height (line 192)

height function.

  • access: public
void height ()
is_larger (line 343)

is_larger function.

  • access: public
void is_larger (mixed $x, mixed $y)
  • mixed $x
  • mixed $y
open (line 83)

open function.

  • access: public
void open (mixed $file)
  • mixed $file
optimal (line 322)

optimal function.

  • access: public
void optimal (mixed $x, mixed $y)
  • mixed $x
  • mixed $y
orientation (line 357)

orientation function.

  • access: public
void orientation ()
output (line 148)

output function.

  • access: public
void output ([mixed $type = IMAGETYPE_PNG])
  • mixed $type: (default: IMAGETYPE_PNG)
preserve_transparency (line 108)

preserve_transparency function.

  • access: public
void preserve_transparency ()
reflection (line 454)

reflection function.

  • access: public
void reflection (mixed $path, mixed $param)
  • mixed $path
  • mixed $param
reflection_plus (line 504)

reflection_plus function.

  • access: public
void reflection_plus (mixed $path, mixed $param, [int $percent = 30], [int $transparency = 30])
  • mixed $path
  • mixed $param
  • int $percent: (default: 30)
  • int $transparency: (default: 50)
resize (line 260)

resize function.

  • access: public
void resize (mixed $width, mixed $height)
  • mixed $width
  • mixed $height
save (line 123)

save function.

  • access: public
void save (mixed $name, [mixed $type = IMAGETYPE_PNG], [int $compression = 75], [mixed $permissions = NULL])
  • mixed $name
  • mixed $type: (default: IMAGETYPE_PNG)
  • int $compression: (default: 75)
  • mixed $permissions: (default: NULL)
scale (line 246)

scale function.

  • access: public
void scale (mixed $scale)
  • mixed $scale
square (line 287)

square function.

  • access: public
void square (mixed $length)
  • mixed $length
width (line 182)

width function.

  • access: public
void width ()

Inherited Methods

Inherited From Laika

Laika::__construct()
Laika::from_array()
Laika::img()
Laika::link_to()
Laika::pop_assoc()
Laika::pop_index()
Laika::redirect_to()
Laika::reflect()
Laika::release()
Laika::to_array()
Laika::version()
Laika::__call()
Laika::__get()
Laika::__set()
Class Constants

Inherited Constants

Inherited from Laika

Laika::LAIKA_RELEASE
Laika::LAIKA_VERSION

Documentation generated on Sat, 19 May 2012 02:17:01 -0400 by phpDocumentor 1.4.4