library/Garp/Image/Scaler.php
public function getTemplateParameters($template) {
        if (count(self::$_config->template->{$template})) {
            $tplConfig = self::$_config->template->{$template}->toArray();
            return $tplConfig;
        }
        throw new Exception('The template "' . $template . '" is not configured.');
    }
public function getTemplateParameters($template) {
        if (count(self::$_config->template->{$template})) {
            $tplConfig = self::$_config->template->{$template}->toArray();
            return $tplConfig;
        }
        throw new Exception('The template "' . $template . '" is not configured.');
    }
public function getTemplateParameters ( $ template ) { if ( count ( self :: $ _config -> template -> { $ template } ) ) { $ tplConfig = self :: $ _config -> template -> { $ template } -> toArray ( ) ; return $ tplConfig ; } throw new Exception ( 'The template "' . $ template . '" is not configured.' ) ; }
Fetches the scaling parameters for this template.

@param string $template Name of this template
@return array
Fetches the scaling parameters for this template .