Source: http://narno.com/blog/verifier-la-validite-des-fichiers-de-configuration-xml-de-magento
app/code/local/Varien/Simplexml/Config.php :
<?php
class Varien_Simplexml_Config {| [ | |
| { | |
| "name": "Aboleth", | |
| "meta": "Large aberration, lawful evil", | |
| "Armor Class": "17 (Natural Armor)", | |
| "Hit Points": "135 (18d10 + 36)", | |
| "Speed": "10 ft., swim 40 ft. ", | |
| "STR": "21", | |
| "STR_mod": "(+5)", | |
| "DEX": "9", |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
| <?php | |
| class EcomDev_Optimization_Model_Resource_Attribute_Source_Table extends Mage_Eav_Model_Entity_Attribute_Source_Table | |
| { | |
| protected static $_preloadedOptions = array(); | |
| protected static function _getStoreOptions($storeId, $attributeId) | |
| { | |
| if (!isset(self::$_preloadedOptions[$storeId])) { | |
| $options = Mage::getResourceModel('eav/entity_attribute_option_collection') |
Source: http://narno.com/blog/verifier-la-validite-des-fichiers-de-configuration-xml-de-magento
app/code/local/Varien/Simplexml/Config.php :
<?php
class Varien_Simplexml_Config {