r4120 - in trunk/plugins/ullCorePlugin/lib: form/widget generator

0 views
Skip to first unread message

s...@ull.at

unread,
Jun 27, 2014, 7:41:13 AM6/27/14
to ullrigh...@googlegroups.com
Author: klemens
Date: 2014-06-27 13:41:11 +0200 (Fri, 27 Jun 2014)
New Revision: 4120

Modified:
trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetPassword.class.php
trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetSimpleUpload.class.php
trunk/plugins/ullCorePlugin/lib/form/widget/ullWidget.class.php
trunk/plugins/ullCorePlugin/lib/generator/ullQuery.class.php
Log:
A few comments and code stylings

Modified: trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetPassword.class.php
===================================================================
--- trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetPassword.class.php 2014-06-27 11:35:49 UTC (rev 4119)
+++ trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetPassword.class.php 2014-06-27 11:41:11 UTC (rev 4120)
@@ -21,7 +21,8 @@
{
$this->dispatcher = sfContext::getInstance()->getEventDispatcher();

- $this->dispatcher->connect('form.update_object', array('ullMetaWidgetPassword', 'listenToUpdateObjectEvent'));
+ $this->dispatcher->connect('form.update_object',
+ array('ullMetaWidgetPassword', 'listenToUpdateObjectEvent'));

parent::__construct($columnConfig, $form);
}

Modified: trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetSimpleUpload.class.php
===================================================================
--- trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetSimpleUpload.class.php 2014-06-27 11:35:49 UTC (rev 4119)
+++ trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetSimpleUpload.class.php 2014-06-27 11:41:11 UTC (rev 4120)
@@ -19,7 +19,8 @@
{
$this->dispatcher = sfContext::getInstance()->getEventDispatcher();

- $this->dispatcher->connect('form.update_object', array('ullMetaWidgetSimpleUpload', 'listenToUpdateObjectEvent'));
+ $this->dispatcher->connect('form.update_object',
+ array('ullMetaWidgetSimpleUpload', 'listenToUpdateObjectEvent'));

parent::__construct($columnConfig, $form);
}

Modified: trunk/plugins/ullCorePlugin/lib/form/widget/ullWidget.class.php
===================================================================
--- trunk/plugins/ullCorePlugin/lib/form/widget/ullWidget.class.php 2014-06-27 11:35:49 UTC (rev 4119)
+++ trunk/plugins/ullCorePlugin/lib/form/widget/ullWidget.class.php 2014-06-27 11:41:11 UTC (rev 4120)
@@ -37,10 +37,12 @@
*
* Example: used for ullWidgetInformationUpdate
*
+ * @deprecated Use "form.update_object" event
+ *
* @param Doctrine_Record $object
- * @param unknown_type $values
- * @param unknown_type $fieldName
- * @return unknown_type
+ * @param array $values
+ * @param string $fieldName
+ * @return array
*/
public function updateObject(Doctrine_Record $object, $values, $fieldName)
{

Modified: trunk/plugins/ullCorePlugin/lib/generator/ullQuery.class.php
===================================================================
--- trunk/plugins/ullCorePlugin/lib/generator/ullQuery.class.php 2014-06-27 11:35:49 UTC (rev 4119)
+++ trunk/plugins/ullCorePlugin/lib/generator/ullQuery.class.php 2014-06-27 11:41:11 UTC (rev 4120)
@@ -18,7 +18,7 @@
$baseModel,
$q,
$relations = array(),
- $finished = false
+ $finished = false //TODO: remove? Not used anywhere
;



Reply all
Reply to author
Forward
0 new messages