| [ Index ] |
PHP Cross Reference of Akelos Framework |
[Summary view] [Print] [Text view]
1 <?php 2 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ 3 4 // +----------------------------------------------------------------------+ 5 // | Akelos Framework - http://www.akelos.org | 6 // +----------------------------------------------------------------------+ 7 // | Copyright (c) 2002-2006, Akelos Media, S.L. & Bermi Ferrer Martinez | 8 // | Released under the GNU Lesser General Public License, see LICENSE.txt| 9 // +----------------------------------------------------------------------+ 10 11 /** 12 * @package ActiveSupport 13 * @subpackage ImageManipulation 14 * @author Bermi Ferrer <bermi a.t akelos c.om> 15 * @copyright Copyright (c) 2002-2006, Akelos Media, S.L. http://www.akelos.org 16 * @license GNU Lesser General Public License <http://www.gnu.org/copyleft/lesser.html> 17 */ 18 19 class AkImageFilter 20 { 21 var $Image; 22 var $options = array(); 23 24 25 function setImage(&$Image) 26 { 27 $this->Image =& $Image; 28 } 29 30 function &getImage() 31 { 32 return $this->Image; 33 } 34 35 function getOptions() 36 { 37 return $this->options; 38 } 39 40 /** 41 * Options for pear ImageTransform are normally in lower camelCase so we need to remap the option keys 42 * to adhere to the framework convention of underscored options 43 */ 44 function _variablizeOptions_(&$options) 45 { 46 foreach ($options as $k=>$v){ 47 $options[AkInflector::variablize($k)] = $v; 48 } 49 } 50 } 51 52 53 54 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Oct 27 12:43:49 2008 | Cross-referenced by PHPXref 0.6 |