From 96a2f929ca6b07d25be70273151738ebda719883 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 30 Dec 2008 01:43:16 +0000 Subject: More phodoc cleanup. --- core/helpers/graphics.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/helpers') diff --git a/core/helpers/graphics.php b/core/helpers/graphics.php index 3d1cd4a8..e64a9c6d 100644 --- a/core/helpers/graphics.php +++ b/core/helpers/graphics.php @@ -24,7 +24,8 @@ class graphics_Core { * Rules are applied to targets (thumbnails and resizes) in priority order. Rules are functions * in the graphics class. So for example, the following rule: * - * graphics::add_rule("core", "thumb", "resize", array(200, 200, Image::AUTO), 100); + * graphics::add_rule("core", "thumb", "resize", + * array("width" => 200, "height" => 200, "master" => Image::AUTO), 100); * * Specifies that "core" is adding a rule to resize thumbnails down to a max of 200px on * the longest side. The core module adds default rules at a priority of 100. You can set -- cgit v1.2.3