| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: image_handler_argument_image_size.inc,v 1.1 2009/05/01 22:29:47 sun Exp $ 3 4 /** 5 * @file 6 * Views argument handler for image size argument. 7 */ 8 9 /** 10 * Argument handler for image size. 11 * 12 * Converts given image size argument to a human-readable name. 13 */ 14 class image_handler_argument_image_size extends views_handler_argument_string { 15 16 /** 17 * Get the human-readable label for the image size. 18 */ 19 function title() { 20 $image_sizes = image_get_sizes(); 21 return check_plain($image_sizes[$this->argument]['label']); 22 } 23 } 24
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |