Changeset 12820 for trunk/include/derivative_params.inc.php
- Timestamp:
- Jan 1, 2012, 10:10:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/derivative_params.inc.php
r12797 r12820 279 279 280 280 /*how we generate a derivative image*/ 281 final class ImageParams281 final class DerivativeParams 282 282 { 283 283 public $type = IMG_CUSTOM; … … 290 290 } 291 291 292 public function __sleep() 293 { 294 return array('last_mod_time', 'sizing'); 295 } 296 292 297 function add_url_tokens(&$tokens) 293 298 { … … 298 303 { 299 304 $sizing = SizingParams::from_url_tokens($tokens); 300 $ret = new ImageParams($sizing);305 $ret = new DerivativeParams($sizing); 301 306 return $ret; 302 307 }
Note: See TracChangeset
for help on using the changeset viewer.