Class Mage_XmlConnect_Helper_Image
XmlConnect image helper
- Mage_Core_Helper_Abstract
- Mage_XmlConnect_Helper_Image
Package: Mage\XmlConnect
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/XmlConnect/Helper/Image.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/XmlConnect/Helper/Image.php
public
|
|
protected
string
|
|
protected
string
|
#
_getResizedFilename( string $fieldPath, string $fileName, boolean $default = false )
Return correct system filename for current screenSize |
protected
null
|
|
protected
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
#
getFileCustomDirSuffixAsUrl( string $confPath, string $fileName )
Return getFileCustomDirSuffixAsUrl |
public
integer
|
#
getImageSizeForContent( string $imageName )
Return correct size for given $imageName and device screen_size |
public
array
|
|
public
integer
|
#
getImageSizeForInterface( string $imagePath )
Return correct size for given $imageName and device screen_size |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string|null
|
#
getCustomSizeImageUrl( string $imageUrl, integer $width = 100, integer $height = 100 )
Retrieve thumbnail image url |
public
string
|
|
public
array
|
#
getImageLimits( string $screenSize =
Return correct size array for given device screen_size(320x480/640x960_a) |
public
mixed
&
|
|
protected
null
|
|
protected
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
array
|
|
public
array|string
|
#
getInterfaceImagesPaths( string $imagePath = null )
Return
|
public
boolean
|
string |
XMLCONNECT_GLUE
|
'_' |
#
Xml connect glue |
protected
array|null
|
$_content | null |
#
Image limits for content |
protected
array|null
|
$_interface | null |
#
Image limits for interface |
protected
array
|
$_interfacePath | array() |
#
Array of interface image paths in xmlConfig |
protected
array
|
$_imageLimits | array() |
#
Image limits array |
protected
array|null
|
$_confPaths | null |
#
Images paths in the config |
$_layout,
$_moduleName,
$_request
|