Author: Yoda-BZH
Date: 2010-04-29 22:32:54 +0200 (Thu, 29 Apr 2010)
New Revision: 29322
Modified:
plugins/ybNetworkWidgetsPlugin/trunk/lib/widget/sfWidgetFormMac.class.php
Log:
* Adding some blank code comments
Modified:
plugins/ybNetworkWidgetsPlugin/trunk/lib/widget/sfWidgetFormMac.class.php
===================================================================
--- plugins/ybNetworkWidgetsPlugin/trunk/lib/widget/sfWidgetFormMac.class.php
2010-04-29 20:16:26 UTC (rev 29321)
+++ plugins/ybNetworkWidgetsPlugin/trunk/lib/widget/sfWidgetFormMac.class.php
2010-04-29 20:32:54 UTC (rev 29322)
@@ -4,13 +4,12 @@
class sfWidgetFormMac extends sfWidgetForm {
static $javascriptIncluded = false;
-
-/*
- protected function configure($options = array(), $attributes = array()) {
-
- }
-*/
-
+ /**
+ * description
+ *
+ * @param void
+ * @return void
+ */
public function render($name, $value = null, $attributes = array(),
$errors = array()) {
$default = array();
$separator = sfConfig::get('app_sfnetworkwidgets_macseparator', '-');
@@ -38,7 +37,12 @@
return implode($separator, $mac).$js;
}
-
+ /**
+ * description
+ *
+ * @param void
+ * @return void
+ */
protected function renderMacWidget($name, $value = null, $options =
array(), $attributes = array()) {
$widget = new sfWidgetFormInputText($options, array_merge($attributes,
array('size' => '1', 'maxlength' => 2, 'class' => 'ybWidget-Mac')));
return $widget->render($name, $value);
--
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.