This sfSavvyPlugin is my first contribution to the symfony project, which is a very promising project, that in my opinion coming from 5 years working with the Java platform. Basically this plugin contains only one helper for now, its name is Savvy and it contains 4 functions.
sfSavvyPlugin includes a lot of useful helpers for your almost daily work
Installation
To install the plugin from the symfony command line, run the following command:
symfony plugin-install http://plugins.symfony-project.com/sfSavvyPlugin
Simple Dynamic HTML Table
<?php use_helper('Savvy') ?>
<?php echo getSimpleTable($models, null, null); ?>
Simple Edit Form
<?php use_helper('Savvy') ?>
<?php echo getEditForm($model, null, null); ?>
Save Form
<?php use_helper('Savvy') ?>
<?php saveFormData($this->myModel, $this->getRequest(), "Item Updated") ?>
Simple Delete Form
<?php use_helper('Savvy') ?>
<?php echo getDeleteForm($models, 'Are You Sure You Want To Delete This Item?', null); ?>
Note: PHP documentation included.
Attachments
- sfSavvyPlugin-1.0.0.tgz (11.7 kB) - added by Ahmed.El.Hussaini on 05/27/07 21:44:34.