![]() |
|
sfProtoculousPlugin - 1.0.4Provides helpers for simple Ajax coding |
|
sfProtoculousPlugin was removed from Symfony core plugins since version 1.4.0. This plugin allows you to install it manually as a separate plugin and use all it's helpers. This plugin provides simple way for adding Ajax functionality into your project using Prototype and Script.aculo.us frameworks. All it's helpers allows you to generate javascript code using native PHP interface.
Install the plugin
$ symfony plugin:install sfProtoculousPlugin
Publish assets
$ symfony publish:assets
For reference read Defenitive Guide to Symfony.
In order to use Prototype-based ajax helpers you need to add 'Javascript' helper into your template.
[php]
<?php use_helper('Javascript') ?>
It provides this functions:
All additional documentation can be found in the source code.