Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/mendipla/public_html/includes/src/Mage_Core_functions.php on line 60
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/mendipla/public_html/includes/src/Mage_Core_functions.php on line 32
)
{
$this->getConnection()->startSetup();
return $this;
}
/**
* Prepare database after install/upgrade
*
* @return Mage_Core_Model_Resource_Setup
*/
public function endSetup()
{
$this->getConnection()->endSetup();
return $this;
}
/**
* Retrieve 32bit UNIQUE HASH for a Table index
*
* @param string $tableName
* @param array|string $fields
* @param string $indexType
* @return string
*/
public function getIdxName($tableName, $fields, $indexType = '')
{
return Mage::getSingleton('core/resource')->getIdxName($tableName, $fields, $indexType);
}
/**
* Retrieve 32bit UNIQUE HASH for a Table foreign key
*
* @param string $priTableName the target table name
* @param string $priColumnName the target table column name
* @param string $refTableName the reference table name
* @param string $refColumnName the reference table column name
* @return string
*/
public function getFkName($priTableName, $priColumnName, $refTableName, $refColumnName)
{
return Mage::getSingleton('core/resource')
->getFkName($priTableName, $priColumnName, $refTableName, $refColumnName);
}
/**
* Check call afterApplyAllUpdates method for setup class
*
* @return boolean
*/
public function getCallAfterApplyAllUpdates()
{
return $this->_callAfterApplyAllUpdates;
}
/**
* Run each time after applying of all updates,
* if setup model setted $_callAfterApplyAllUpdates flag to true
*
* @return Mage_Core_Model_Resource_Setup
*/
public function afterApplyAllUpdates()
{
return $this;
}
}
Fatal error: Uncaught Error: Class 'Mage_Core_Model_Resource_Setup' not found in /home/mendipla/public_html/includes/src/__default.php:21342
Stack trace:
#0 /home/mendipla/public_html/includes/src/__default.php(21268): Mage_Core_Model_App->_initModules()
#1 /home/mendipla/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#2 /home/mendipla/public_html/index.php(83): Mage::run('', 'store')
#3 {main}
thrown in /home/mendipla/public_html/includes/src/__default.php on line 21342