Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joebeeson/analogue
A CakePHP 1.3+ helper for remapping helpers
https://github.com/joebeeson/analogue
Last synced: 3 months ago
JSON representation
A CakePHP 1.3+ helper for remapping helpers
- Host: GitHub
- URL: https://github.com/joebeeson/analogue
- Owner: joebeeson
- License: mit
- Archived: true
- Created: 2010-05-10T19:27:01.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-01-18T01:39:40.000Z (almost 14 years ago)
- Last Synced: 2024-05-30T02:44:21.241Z (6 months ago)
- Language: PHP
- Homepage: http://blog.joebeeson.com/analogue-helper-for-cakephp/
- Size: 93.8 KB
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Analogue plugin for CakePHP 1.3+
Renames, or "maps", helpers prior to rendering so that you can easily replace helpers with your extended, or updated version.
## Installation
* Download the plugin
$ cd /path/to/your/app/plugins && git clone git://github.com/joebeeson/analogue.git
* Add the helper to your `$helpers` and configure it there
public $helpers = array(
'Analogue.Analogue' => array(
array(
'helper' => 'MyHtml',
'rename' => 'Html'
),array(
'helper' => 'MyForm',
'rename' => 'Form'
)
)
);This will take the helpers, MyHtmlHelper and MyFormHelper and remap them to the Html and Form variables when rendering begins.