Skip to content

Produce Zend_Form objects that lay out their elements in tables.

Notifications You must be signed in to change notification settings

evmcl/tabular-zend-forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tabular Zend Forms

https://github.com/evmcl/tabular-zend-forms

This is some code to allow you to produce Zend Forms that use tables for laying
out their elements.

The Ev folder contains the code that you need to stick in your PHP include
path.

Example.php is an example of a function producing a tabular form.  It it well
commented.

Example_Result.html is a sample HTML file displaying the form markup that is
produced by the code in Example.php (although I pretty formatted it).

In particular, pay attention to the classes given to various parts of the form,
and how they can be used to style the form a bit.

This code has been used with Zend Framework 1.5.1.  Don't know if it'll work on
newer versions.

The Zend Framework is found at http://framework.zend.com/

--

MIT Style License

Copyright (c) 2009 Evan McLean - http://evanmclean.com/

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, distribute with modifications,
sublicense, and/or sell copies of the Software, and to permit persons to whom
the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name(s) of the above copyright holders
shall not be used in advertising or otherwise to promote the sale, use or other
dealings in this Software without prior written authorization.

About

Produce Zend_Form objects that lay out their elements in tables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages