| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function toOptionArray() |
||
| 30 | { |
||
| 31 | $routes = new Studioforty9_Recaptcha_Model_Routes(); |
||
| 32 | |||
| 33 | $routes->add('contacts_index', Mage::helper('studioforty9_recaptcha')->__('Contact Form')); |
||
| 34 | $routes->add('review_product', Mage::helper('studioforty9_recaptcha')->__('Product Review Form')); |
||
| 35 | $routes->add('customer_account_create', Mage::helper('studioforty9_recaptcha')->__('Account Registration Form')); |
||
|
|
|||
| 36 | $routes->add('sendfriend_product_send', Mage::helper('studioforty9_recaptcha')->__('Send to Friend Form')); |
||
| 37 | $routes->add('customer_account_login', Mage::helper('studioforty9_recaptcha')->__('Login Form')); |
||
| 38 | $routes->add('customer_account_forgotpassword', Mage::helper('studioforty9_recaptcha')->__('Forgot Password Form')); |
||
| 39 | |||
| 40 | Mage::dispatchEvent('studioforty9_recaptcha_routes', array('routes' => $routes)); |
||
| 41 | |||
| 42 | return $routes->toArray(); |
||
| 43 | } |
||
| 44 | } |
||
| 45 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.