Author: ornicar2
Date: 2010-01-23 01:09:14 +0100 (Sat, 23 Jan 2010)
New Revision: 27080
Modified:
plugins/dmWidgetGalleryPlugin/lib/dmWidgetContentGalleryForm.php
Log:
[Diem][dmWidgetGalleryPlugin] fixed coding style
Modified: plugins/dmWidgetGalleryPlugin/lib/dmWidgetContentGalleryForm.php
===================================================================
--- plugins/dmWidgetGalleryPlugin/lib/dmWidgetContentGalleryForm.php
2010-01-23 00:08:26 UTC (rev 27079)
+++ plugins/dmWidgetGalleryPlugin/lib/dmWidgetContentGalleryForm.php
2010-01-23 00:09:14 UTC (rev 27080)
@@ -43,7 +43,7 @@
'required' => false
));
- $methods =
self::$serviceContainer->getService('i18n')->translateArray(self::$methods);
+ $methods = $this->getService('i18n')->translateArray(self::$methods);
$this->widgetSchema['method'] = new sfWidgetFormSelect(array(
'choices' => $methods
));
@@ -55,7 +55,7 @@
$this->setDefault('method', dmConfig::get('image_resize_method',
'center'));
}
- $animations =
self::$serviceContainer->getService('i18n')->translateArray(self::$animations);
+ $animations = $this->getService('i18n')->translateArray(self::$animations);
$this->widgetSchema['animation'] = new sfWidgetFormSelect(array(
'choices' => $animations
));
--
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.