You are here

function _photos_labels in Album Photos 6.2

Same name and namespace in other branches
  1. 7.3 photos.module \_photos_labels()
1 call to _photos_labels()
photos_get_info in ./photos.module

File

./photos.module, line 1562

Code

function _photos_labels($sizes = 0) {
  if (!$sizes) {
    $t = photos_upload_info(0);
    $sizes = $t['size'];
  }
  foreach ($sizes as $size) {
    $label[] = $size['name'];
  }
  return $label;
}