api_path function.
static
void
api_path
(mixed $path, mixed $function, mixed $param, [ $nocache = false])
-
mixed
$path
-
mixed
$function
-
mixed
$param
-
$nocache
dimensions function.
static
void
dimensions
(mixed $src)
__construct function.
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 function.
void
auto_resize
(mixed $constraint)
constrain function.
void
constrain
(mixed $x, [mixed $y = NULL])
-
mixed
$x
-
mixed
$y: (default: NULL)
crop function.
void
crop
(mixed $width, mixed $height, mixed $new_width, mixed $new_height)
-
mixed
$width
-
mixed
$height
-
mixed
$new_width
-
mixed
$new_height
fixed_height function.
void
fixed_height
( $length, mixed $height)
fixed_width function.
void
fixed_width
( $length, mixed $width)
height function.
void
height
()
is_larger function.
void
is_larger
(mixed $x, mixed $y)
open function.
void
open
(mixed $file)
optimal function.
void
optimal
(mixed $x, mixed $y)
orientation function.
void
orientation
()
output function.
void
output
([mixed $type = IMAGETYPE_PNG])
-
mixed
$type: (default: IMAGETYPE_PNG)
preserve_transparency function.
void
preserve_transparency
()
reflection function.
void
reflection
(mixed $path, mixed $param)
reflection_plus function.
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 function.
void
resize
(mixed $width, mixed $height)
-
mixed
$width
-
mixed
$height
save function.
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 function.
void
scale
(mixed $scale)
square function.
void
square
(mixed $length)
width function.
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()