This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Upload images | |
* | |
* @param $url | |
* @param $images | |
* @return array | |
*/ | |
function imageUpload($url, $images) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Load custom layout | |
* | |
* @return Mage_Core_Model_Layout | |
*/ | |
protected function _loadCustomLayouts() | |
{ | |
$layout = Mage::app()->getLayout(); | |
$update = $layout->getUpdate(); | |
// load default custom handle |