sfPropelChangePlugin - 0.9.0

This plugin add a task for symfony to do easyly the same operation onto one Propel Column

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source | Show as Markdown

sfPropelChangePlugin

This plugin add a task for symfony to do easyly the same operation onto one Propel Column

It open the connection get the field value Call one php function And save the object

Example

Change the texte codage

symfony propel-change YOUR_APP OBJECT COLUMN_FOR_GET utf8_encode 

The OBJECT could be ending with Peer or not

The COLUMN_FOR_GET is the ending of the get function example : title For getTitle() Warning: my_name the function is getMyName() so you must set myName

Strip tags with allowable tag

    symfony propel-change YOUR_APP OBJECT COLUMN_FOR_GET strip_tags /value/+"<br/>" 

/value/ will be replace by the value of the propel object

You've just to set the args function in order concaneted by +