Created
February 28, 2018 00:49
-
-
Save dajve/ffad49a59329eba3dc380d0566b26414 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
echo "Searching for class overrides" | |
echo "" | |
# echo "= Mage_Admin_Helper_Data" | |
# grep "extends Mage_Admin_Helper_Data" ./app/code/{community,local} -Rl | |
# echo "" | |
echo "= Mage_Admin_Model_Block" | |
grep "extends Mage_Admin_Model_Block" ./app/code/{community,local} -Rl | xargs grep "function validate(" | |
echo "" | |
# echo "= Mage_Admin_Model_Resource_Block" | |
# grep "extends Mage_Admin_Model_Resource_Block" ./app/code/{community,local} -Rl | |
# echo "" | |
echo "= Mage_Admin_Model_User" | |
grep "extends Mage_Admin_Model_User" ./app/code/{community,local} -Rl | xargs grep "function login(" | |
echo "" | |
echo "= Mage_Adminhtml_Block_Catalog_Product_Grid" | |
grep "extends Mage_Adminhtml_Block_Catalog_Product_Grid" ./app/code/{community,local} -Rl | xargs grep "function _prepareColumns(" | |
echo "" | |
echo "= Mage_Adminhtml_Block_Newsletter_Template_Grid_Renderer_Sender" | |
grep "extends Mage_Adminhtml_Block_Newsletter_Template_Grid_Renderer_Sender" ./app/code/{community,local} -Rl | xargs grep "function render(" | |
echo "" | |
echo "= Mage_Adminhtml_Block_Sales_Order_Grid" | |
grep "extends Mage_Adminhtml_Block_Sales_Order_Grid" ./app/code/{community,local} -Rl | xargs grep "function _prepareColumns(" | |
echo "" | |
echo "= Mage_Adminhtml_Block_Sales_Order_View_Info" | |
grep "extends Mage_Adminhtml_Block_Sales_Order_View_Info" ./app/code/{community,local} -Rl | xargs grep "function getOrderStoreName(" | |
echo "" | |
echo "= Mage_Adminhtml_Block_System_Store_Edit_Form" | |
grep "extends Mage_Adminhtml_Block_System_Store_Edit_Form" ./app/code/{community,local} -Rl | xargs grep "function _prepareForm(" | |
echo "" | |
echo "= Mage_Adminhtml_Block_Tag_Assigned_Grid" | |
grep "extends Mage_Adminhtml_Block_Tag_Assigned_Grid" ./app/code/{community,local} -Rl | xargs grep "function _prepareColumns(" | |
echo "" | |
echo "= Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Store" | |
grep "extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Store" ./app/code/{community,local} -Rl | xargs grep "function render(" | |
echo "" | |
echo "= Mage_Adminhtml_Block_Widget_Tabs" | |
grep "extends Mage_Adminhtml_Block_Widget_Tabs" ./app/code/{community,local} -Rl | xargs grep "function getTabLabel(" | |
echo "" | |
echo "= Mage_Adminhtml_Model_Config_Data" | |
grep "extends Mage_Adminhtml_Model_Config_Data" ./app/code/{community,local} -Rl | xargs grep "function save(" | |
echo "" | |
echo "= Mage_Adminhtml_Model_System_Store" | |
grep "extends Mage_Adminhtml_Model_System_Store" ./app/code/{community,local} -Rl | xargs grep "function getStoreValuesForForm(" | |
echo "" | |
echo "= Mage_Adminhtml_Catalog_ProductController" | |
grep "extends Mage_Adminhtml_Catalog_ProductController" ./app/code/{community,local} -Rl | xargs grep "function saveAction(" | |
echo "" | |
echo "= Mage_Adminhtml_CustomerController" | |
grep "extends Mage_Adminhtml_CustomerController" ./app/code/{community,local} -Rl | xargs grep "function saveAction(" | |
echo "" | |
echo "= Mage_Adminhtml_System_BackupController" | |
grep "extends Mage_Adminhtml_System_BackupController" ./app/code/{community,local} -Rl | xargs grep "function preDispatch(" | |
echo "" | |
echo "= Mage_Core_Model_Session_Abstract_Varien" | |
grep "extends Mage_Core_Model_Session_Abstract_Varien" ./app/code/{community,local} -Rl | xargs grep "function (_validate|getValidatorData)\(" -P | |
echo "" | |
echo "= Mage_Core_Model_Variable" | |
grep "extends Mage_Core_Model_Variable" ./app/code/{community,local} -Rl | xargs grep "function getVariablesOptionArray(" | |
echo "" | |
# echo "= Mage_Customer_Helper_Data" | |
# grep "extends Mage_Customer_Helper_Data" ./app/code/{community,local} -Rl | |
# echo "" | |
echo "= Mage_Customer_Model_Resource_Customer" | |
grep "extends Mage_Customer_Model_Resource_Customer" ./app/code/{community,local} -Rl | xargs grep "function changePassword(" | |
echo "" | |
echo "= Mage_Customer_AccountController" | |
grep "extends Mage_Customer_AccountController" ./app/code/{community,local} -Rl | xargs grep "function (createPostAction|resetPasswordPostAction|editPostAction)\(" -P | |
echo "" | |
echo "= Mage_ImportExport_Model_Import" | |
grep "extends Mage_ImportExport_Model_Import" ./app/code/{community,local} -Rl | xargs grep "function uploadSource(" | |
echo "" | |
echo "= Mage_ImportExport_Model_Import_Entity_Product" | |
grep "extends Mage_ImportExport_Model_Import_Entity_Product" ./app/code/{community,local} -Rl | xargs grep "function _validate(" | |
echo "" | |
echo "= Mage_Shipping_Model_Info" | |
grep "extends Mage_Shipping_Model_Info" ./app/code/{community,local} -Rl | xargs grep "function (_initOrder|_initShipment|getTrackingInfoByTrackId)\(" -P | |
echo "" | |
echo "= Mage_Widget_Adminhtml_Widget_InstanceController" | |
grep "extends Mage_Widget_Adminhtml_Widget_InstanceController" ./app/code/{community,local} -Rl | xargs grep "function saveAction(" | |
echo "" | |
echo "= Mage_XmlConnect_Block_Adminhtml_Connect_Dashboard_StoreSwitcher" | |
grep "extends Mage_XmlConnect_Block_Adminhtml_Connect_Dashboard_StoreSwitcher" ./app/code/{community,local} -Rl | xargs grep "function (_createStoreItemList|_setStoreItemsByNestingLevel)\(" -P | |
echo "" | |
echo "= Zend_Mail_Transport_Sendmail" | |
grep "extends Zend_Mail_Transport_Sendmail" ./app/code/{community,local} -Rl | xargs grep "function _sendMail(" | |
echo "" | |
echo "= Searching for template overrides" | |
ls app/design/adminhtml/*/*/template/catalog/product/attribute/options.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/catalog/product/attribute/set/main.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/customer/tab/view.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/customer/tab/view/sales.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/dashboard/store/switcher.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/downloadable/product/composite/fieldset/downloadable.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/downloadable/product/edit/downloadable/links.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/downloadable/sales/items/column/downloadable/creditmemo/name.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/downloadable/sales/items/column/downloadable/invoice/name.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/downloadable/sales/items/column/downloadable/name.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/eav/attribute/options.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/newsletter/preview/store.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/report/store/switcher.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/sales/order/view/info.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/store/switcher.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/store/switcher/enhanced.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/system/convert/profile/wizard.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/tax/rate/title.phtml | grep -v "default/default" | |
ls app/design/adminhtml/*/*/template/widget/form/renderer/fieldset.phtml | grep -v "default/default" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment