Developer_Manual - Version 1.1.2

Version Notes

Typo fixes, properly aborts ajax requests.

Download this release

Release Info

Developer Alan Storm
Extension Developer_Manual
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

app/code/local/Alanstormdotcom/Developermanual/Model/Reflector/Helper.php CHANGED
@@ -115,9 +115,13 @@ class Alanstormdotcom_Developermanual_Model_Reflector_Helper extends Mage_Core_M
115
 
116
  protected function _getDefaultValue(Reflector $prop)
117
  {
118
- if($prop->isProtected()) {
119
  $prop->setAccessible(true);
120
  }
 
 
 
 
121
 
122
  if($prop->isStatic()) {
123
  return $prop->getValue();
115
 
116
  protected function _getDefaultValue(Reflector $prop)
117
  {
118
+ if($prop->isProtected() && method_exists($prop,'setAccesible')) {
119
  $prop->setAccessible(true);
120
  }
121
+ else if($prop->isProtected())
122
+ {
123
+ return '[UNKNOWN DEFAULT VALUE] (upgrade to PHP 5.3+ to reflect into protected properties)';
124
+ }
125
 
126
  if($prop->isStatic()) {
127
  return $prop->getValue();
app/code/local/Alanstormdotcom/Developermanual/Model/Source/Helper.php CHANGED
@@ -21,6 +21,7 @@ class Alanstormdotcom_Developermanual_Model_Source_Helper extends Mage_Core_Mode
21
  try {
22
  $it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($module . '/Helper'));
23
  } catch (UnexpectedValueException $e) {
 
24
  return '';
25
  }
26
 
@@ -63,7 +64,7 @@ class Alanstormdotcom_Developermanual_Model_Source_Helper extends Mage_Core_Mode
63
 
64
  $dirs = array();
65
  foreach ($it as $fileinfo) {
66
- if(! $fileinfo->isDot() && $fileinfo->isDir()) {
67
  try {
68
  $tmp = new DirectoryIterator($fileinfo->getPathName() . '/Helper');
69
  } catch(UnexpectedValueException $e) {
21
  try {
22
  $it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($module . '/Helper'));
23
  } catch (UnexpectedValueException $e) {
24
+ Mage::Log($e->getMessage());
25
  return '';
26
  }
27
 
64
 
65
  $dirs = array();
66
  foreach ($it as $fileinfo) {
67
+ if(! $fileinfo->isDot() && $fileinfo->isDir() && file_exists($fileinfo->getPathName() . '/Helper')) {
68
  try {
69
  $tmp = new DirectoryIterator($fileinfo->getPathName() . '/Helper');
70
  } catch(UnexpectedValueException $e) {
app/code/local/Alanstormdotcom/Developermanual/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Alanstormdotcom_Developermanual>
5
- <version>1.1.1</version>
6
  </Alanstormdotcom_Developermanual>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <Alanstormdotcom_Developermanual>
5
+ <version>1.1.2</version>
6
  </Alanstormdotcom_Developermanual>
7
  </modules>
8
 
package.xml CHANGED
@@ -1,2 +1,2 @@
1
  <?xml version="1.0"?>
2
- <package><name>Developer_Manual</name><version>1.1.1</version><stability>stable</stability><license>MIT</license><channel>community</channel><extends></extends><summary>Provides navigation shortcuts for the admin console's navigation and gloal search</summary><description>This extension provides Magento admin console users with an "application launcher". This application launcher provides instant access to the admin console's navigation, every system configuration search section, as well as the Magento global search. The Pulse Storm launcher is a free, open source, must have extension for anyone working with Magento. </description><notes>Typo fixes, properly aborts ajax requests.</notes><authors><author><name>Alan Storm</name><user>alanstorm</user><email>astorm@alanstorm.com</email></author></authors><date>2012-12-03</date><time>12:42:19</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="code"><dir name="local"><dir name="Alanstormdotcom"><dir name="Developermanual"><dir name="Block"><file name="Abstractref.php" hash="420c8f44135cd71da179899d7565be0e"/><file name="Apiresource.php" hash="04b74fa800105972aaea64c979aa3365"/><file name="Template.php" hash="0f777a48b45d8c797a48ecb37a1b9d5f"/><dir name="Renderer"><dir name="Reflection"><file name="Action.php" hash="f73121603ec5720a53cedf3e612b4600"/><file name="Api.php" hash="a77b2d2b71cb8b9765f497452d1b0432"/><file name="Helper.php" hash="a463ab37aa2590e4753e48f92bd8fcf3"/></dir></dir></dir><dir name="controllers"><file name="_ApiController.php" hash="ec2cc01f069674d9f23b035f0d6ecbcb"/><file name="_HelperController.php" hash="0736ea7056c9a29b6290595efa01e831"/><file name="_IndexController.php" hash="416c122f2c521e0115219d2ad34d7281"/><dir name="Alanstormdotcom"><file name="DevelopermanualController.php" hash="ac2cb91a2e4f29b5990c19945fbe622d"/><dir name="Developermanual"><file name="ApiController.php" hash="7a5c1787c065a2a9c29a0226b2309b7c"/><file name="HelperController.php" hash="b9f55a67390be1c99e033af44e1b09a6"/><file name="IndexController.php" hash="3e9427eb0d026a65951d3b3df7b9a93a"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c2ac8d4041f0a0c97b38223a70b47adb"/><file name="config.xml" hash="fd1f5f77e33dea8ae169921991afaba3"/></dir><dir name="Helper"><file name="Data.php" hash="fd738aa5536eee860e122bdef90244f3"/><file name="Reflector.php" hash="7b64140831adc4ea29376625e2638785"/><file name="Xmlpp.php" hash="0bdc0fb1d4774e2c2bc955839ce2fe4e"/></dir><dir name="Model"><file name="Apiref.php" hash="d48419aae0bea744d9aa6e6b5ef91eda"/><file name="Helper.php" hash="1e1d27ad7c003072a71612d3699d21f2"/><dir name="Reflector"><file name="Helper.php" hash="c35824e0dd5b80798cd2dc435114bff4"/></dir><dir name="Source"><file name="Helper.php" hash="9a85b1236a17f04a0afd75f8dcf8f3ce"/></dir></dir><dir name="templates"><file name="adminhtml_alanstormdotcom_developermanual_api_reference.phtml" hash="22a9c79778d532ce9fdd8716ab762b73"/><file name="adminhtml_alanstormdotcom_developermanual_api_referenceall.phtml" hash="c920ade9a5937f690c2517969ae9da82"/><file name="adminhtml_alanstormdotcom_developermanual_api_singleResource.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="adminhtml_alanstormdotcom_developermanual_index_about.phtml" hash="edc31d1bfd4e4e48c2b46196f668836b"/><file name="ajax_helper_methods.phtml" hash="f6ae7dff9b4804e11291aafe6135467f"/><file name="api_resource.phtml" hash="ac1d349555fd33475e9ce937bdb8fa4c"/><file name="form_block_action.phtml" hash="71ba869900ed60c27ef749804bea6d7e"/><file name="form_helper_action.phtml" hash="86f6215e9fc24d5a6775880bb7d0d0fc"/><file name="helpers_css.phtml" hash="e46748f15f888f14b9af65dee4009331"/><file name="helpers_js.phtml" hash="aefec7f902b5c9e4c46c78987b65bcbd"/><file name="styles.phtml" hash="14b57ccacff83bffbf8ac874973ce976"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Alanstormdotcom_Developermanual.xml" hash="0ed6da1a82937ca9df217e5f52734a59"/></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>Developer_Manual</name><version>1.1.2</version><stability>stable</stability><license>MIT</license><channel>community</channel><extends></extends><summary>Provides navigation shortcuts for the admin console's navigation and gloal search</summary><description>This extension provides Magento admin console users with an "application launcher". This application launcher provides instant access to the admin console's navigation, every system configuration search section, as well as the Magento global search. The Pulse Storm launcher is a free, open source, must have extension for anyone working with Magento. </description><notes>Typo fixes, properly aborts ajax requests.</notes><authors><author><name>Alan Storm</name><user>alanstorm</user><email>astorm@alanstorm.com</email></author></authors><date>2013-03-25</date><time>17:36:02</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="code"><dir name="local"><dir name="Alanstormdotcom"><dir name="Developermanual"><dir name="Block"><file name="Abstractref.php" hash="420c8f44135cd71da179899d7565be0e"/><file name="Apiresource.php" hash="04b74fa800105972aaea64c979aa3365"/><file name="Template.php" hash="0f777a48b45d8c797a48ecb37a1b9d5f"/><dir name="Renderer"><dir name="Reflection"><file name="Action.php" hash="f73121603ec5720a53cedf3e612b4600"/><file name="Api.php" hash="a77b2d2b71cb8b9765f497452d1b0432"/><file name="Helper.php" hash="a463ab37aa2590e4753e48f92bd8fcf3"/></dir></dir></dir><dir name="controllers"><file name="_ApiController.php" hash="ec2cc01f069674d9f23b035f0d6ecbcb"/><file name="_HelperController.php" hash="0736ea7056c9a29b6290595efa01e831"/><file name="_IndexController.php" hash="416c122f2c521e0115219d2ad34d7281"/><dir name="Alanstormdotcom"><file name="DevelopermanualController.php" hash="ac2cb91a2e4f29b5990c19945fbe622d"/><dir name="Developermanual"><file name="ApiController.php" hash="7a5c1787c065a2a9c29a0226b2309b7c"/><file name="HelperController.php" hash="b9f55a67390be1c99e033af44e1b09a6"/><file name="IndexController.php" hash="3e9427eb0d026a65951d3b3df7b9a93a"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c2ac8d4041f0a0c97b38223a70b47adb"/><file name="config.xml" hash="6315a591039fd0cc4031e2df6c18b390"/></dir><dir name="Helper"><file name="Data.php" hash="fd738aa5536eee860e122bdef90244f3"/><file name="Reflector.php" hash="7b64140831adc4ea29376625e2638785"/><file name="Xmlpp.php" hash="0bdc0fb1d4774e2c2bc955839ce2fe4e"/></dir><dir name="Model"><file name="Apiref.php" hash="d48419aae0bea744d9aa6e6b5ef91eda"/><file name="Helper.php" hash="1e1d27ad7c003072a71612d3699d21f2"/><dir name="Reflector"><file name="Helper.php" hash="0d49a92d87462cf9577f6c847ab84a93"/></dir><dir name="Source"><file name="Helper.php" hash="242bae0e366d5dd3f919da1e0f5082d3"/></dir></dir><dir name="templates"><file name="adminhtml_alanstormdotcom_developermanual_api_reference.phtml" hash="22a9c79778d532ce9fdd8716ab762b73"/><file name="adminhtml_alanstormdotcom_developermanual_api_referenceall.phtml" hash="c920ade9a5937f690c2517969ae9da82"/><file name="adminhtml_alanstormdotcom_developermanual_api_singleResource.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="adminhtml_alanstormdotcom_developermanual_index_about.phtml" hash="edc31d1bfd4e4e48c2b46196f668836b"/><file name="ajax_helper_methods.phtml" hash="f6ae7dff9b4804e11291aafe6135467f"/><file name="api_resource.phtml" hash="ac1d349555fd33475e9ce937bdb8fa4c"/><file name="form_block_action.phtml" hash="71ba869900ed60c27ef749804bea6d7e"/><file name="form_helper_action.phtml" hash="86f6215e9fc24d5a6775880bb7d0d0fc"/><file name="helpers_css.phtml" hash="e46748f15f888f14b9af65dee4009331"/><file name="helpers_js.phtml" hash="aefec7f902b5c9e4c46c78987b65bcbd"/><file name="styles.phtml" hash="14b57ccacff83bffbf8ac874973ce976"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Alanstormdotcom_Developermanual.xml" hash="0ed6da1a82937ca9df217e5f52734a59"/></dir></dir></dir></target></contents></package>