protected function getImageSizeList()
	{
		$arrSizes = \System::getContainer()->get('contao.image.image_sizes')->getAllOptions();

		if (is_array($arrList = \StringUtil::deserialize($this->sizeList)))
		{
			$arrSizes['image_sizes'] = array_intersect_key($arrSizes['image_sizes'], array_flip($arrList));
		}
		else
		{
			$arrSizes['image_sizes'] = array();
		}

		if ($this->canEnterSize)
		{
			return $arrSizes;
		}
		
		return $arrSizes['image_sizes'];
	}
protected function getImageSizeList()
	{
		$arrSizes = \System::getContainer()->get('contao.image.image_sizes')->getAllOptions();

		if (is_array($arrList = \StringUtil::deserialize($this->sizeList)))
		{
			$arrSizes['image_sizes'] = array_intersect_key($arrSizes['image_sizes'], array_flip($arrList));
		}
		else
		{
			$arrSizes['image_sizes'] = array();
		}

		if ($this->canEnterSize)
		{
			return $arrSizes;
		}
		
		return $arrSizes['image_sizes'];
	}
protected function getImageSizeList ( ) { $ arrSizes = \ System :: getContainer ( ) -> get ( 'contao.image.image_sizes' ) -> getAllOptions ( ) ; if ( is_array ( $ arrList = \ StringUtil :: deserialize ( $ this -> sizeList ) ) ) { $ arrSizes [ 'image_sizes' ] = array_intersect_key ( $ arrSizes [ 'image_sizes' ] , array_flip ( $ arrList ) ) ; } else { $ arrSizes [ 'image_sizes' ] = array ( ) ; } if ( $ this -> canEnterSize ) { return $ arrSizes ; } return $ arrSizes [ 'image_sizes' ] ; }
Get a list of image sizes
Get a list of image sizes