protected publishImages ( $style, $fileExt = '.gif' ) : array | ||
return | array | URL of publish the rating images |
protected function publishImages($style, $fileExt = '.gif')
{
$types = array('blank', 'selected', 'half', 'combined');
$files = array();
foreach ($types as $type) {
$files[$type] = $this->getAssetUrl("{$style}_{$type}{$fileExt}");
}
return $files;
}