library/Garp/Cli/Command/Image.php
protected function _generateAllScaledImages($overwrite = false) {
        $imageScaler    = new Garp_Image_Scaler();
        $templates      = $imageScaler->getTemplateNames();
        $success        = 0;

        foreach ($templates as $t) {
            $success += (int)$this->_generateScaledImagesForTemplate($t, $overwrite);
        }

        return $success == count($templates);
    }
protected function _generateAllScaledImages($overwrite = false) {
        $imageScaler    = new Garp_Image_Scaler();
        $templates      = $imageScaler->getTemplateNames();
        $success        = 0;

        foreach ($templates as $t) {
            $success += (int)$this->_generateScaledImagesForTemplate($t, $overwrite);
        }

        return $success == count($templates);
    }
protected function _generateAllScaledImages ( $ overwrite = false ) { $ imageScaler = new Garp_Image_Scaler ( ) ; $ templates = $ imageScaler -> getTemplateNames ( ) ; $ success = 0 ; foreach ( $ templates as $ t ) { $ success += ( int ) $ this -> _generateScaledImagesForTemplate ( $ t , $ overwrite ) ; } return $ success == count ( $ templates ) ; }
Generate scaled versions of all images in all templates.

@param bool $overwrite
@return bool
Generate scaled versions of all images in all templates .