Author: francois.b
Date: 2010-03-23 18:05:32 +0100 (Tue, 23 Mar 2010)
New Revision: 28727

Modified:
   plugins/sfUnobstrusiveWidgetPlugin/trunk/lib/widget/base/sfUoWidget.class.php
Log:
[sfUnobstrusiveWidgetPlugin] override attributesToHtml function from 
sfWidget.class.php

Modified: 
plugins/sfUnobstrusiveWidgetPlugin/trunk/lib/widget/base/sfUoWidget.class.php
===================================================================
--- 
plugins/sfUnobstrusiveWidgetPlugin/trunk/lib/widget/base/sfUoWidget.class.php   
    2010-03-23 16:57:03 UTC (rev 28726)
+++ 
plugins/sfUnobstrusiveWidgetPlugin/trunk/lib/widget/base/sfUoWidget.class.php   
    2010-03-23 17:05:32 UTC (rev 28727)
@@ -509,4 +509,16 @@
       return strtr($message, $options);
     }
   }
+
+  /**
+   * Converts an array of attributes to its HTML representation.
+   *
+   * @param  array  $attributes An array of attributes
+   *
+   * @return string The HTML representation of the HTML attribute array.
+   */
+  public function attributesToHtml($attributes)
+  {
+    return implode('', array_map(array($this, 'attributesToHtmlCallback'), 
array_keys($attributes), array_values($attributes)));
+  }
 }
\ No newline at end of file

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to