Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eduardo-matos/zendframework_bodyclass_helper
Zend Framework Body Class Helper
https://github.com/eduardo-matos/zendframework_bodyclass_helper
Last synced: about 1 month ago
JSON representation
Zend Framework Body Class Helper
- Host: GitHub
- URL: https://github.com/eduardo-matos/zendframework_bodyclass_helper
- Owner: eduardo-matos
- Created: 2011-04-21T14:25:08.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-09-10T17:46:01.000Z (about 13 years ago)
- Last Synced: 2023-03-17T18:31:16.870Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 93.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Instalation
----------------
Just drop the file BodyClass.php in `/application/views/helpers/`Usage
----------------
Just call `$this->bodyClass()` on view scriptsExample
----------------
`
Some Title
bodyClass()->addClass('my-first-class') ?> >
`
Would result in:
`
Some Title
`
This way you can add classes on any part of the application (Bootstrap, Plugins, Controllers, Models...).