You are here

function _adsense_get_dimensions in Google AdSense integration 5

Same name and namespace in other branches
  1. 5.2 adsense.module \_adsense_get_dimensions()
2 calls to _adsense_get_dimensions()
_adsense_get_height in ./adsense.module
_adsense_get_width in ./adsense.module

File

./adsense.module, line 1103

Code

function _adsense_get_dimensions($format) {
  list($width, $height) = explode('x', $format);
  return array(
    'width' => $width,
    'height' => $height,
  );
}