Changeset 5952
- Timestamp:
- 11/10/07 15:43:23 (1 year ago)
- Files:
-
- trunk/lib/widget/sfWidgetFormDate.class.php (modified) (1 diff)
- trunk/lib/widget/sfWidgetFormIdentity.class.php (modified) (1 diff)
- trunk/lib/widget/sfWidgetFormInput.class.php (modified) (1 diff)
- trunk/lib/widget/sfWidgetFormInputCheckbox.class.php (modified) (1 diff)
- trunk/lib/widget/sfWidgetFormSelect.class.php (modified) (1 diff)
- trunk/lib/widget/sfWidgetFormTextarea.class.php (modified) (1 diff)
- trunk/lib/widget/sfWidgetFormTime.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/widget/sfWidgetFormDate.class.php
r5950 r5952 43 43 * @see sfWidgetForm 44 44 */ 45 function render($name, $value = null, $attributes = array(), $errors = array())45 public function render($name, $value = null, $attributes = array(), $errors = array()) 46 46 { 47 47 // convert value to a timestamp trunk/lib/widget/sfWidgetFormIdentity.class.php
r5937 r5952 22 22 * @see sfWidgetForm 23 23 */ 24 function render($name, $value = null, $attributes = array(), $errors = array())24 public function render($name, $value = null, $attributes = array(), $errors = array()) 25 25 { 26 26 return $value; trunk/lib/widget/sfWidgetFormInput.class.php
r5937 r5952 38 38 * @see sfWidgetForm 39 39 */ 40 function render($name, $value = null, $attributes = array(), $errors = array())40 public function render($name, $value = null, $attributes = array(), $errors = array()) 41 41 { 42 42 return $this->renderTag('input', array_merge(array('type' => $this->getOption('type'), 'name' => $name, 'value' => $value), $attributes)); trunk/lib/widget/sfWidgetFormInputCheckbox.class.php
r5937 r5952 32 32 * @see sfWidgetForm 33 33 */ 34 function render($name, $value = null, $attributes = array(), $errors = array())34 public function render($name, $value = null, $attributes = array(), $errors = array()) 35 35 { 36 36 if ($value) trunk/lib/widget/sfWidgetFormSelect.class.php
r5937 r5952 38 38 * @see sfWidgetForm 39 39 */ 40 function render($name, $value = null, $attributes = array(), $errors = array())40 public function render($name, $value = null, $attributes = array(), $errors = array()) 41 41 { 42 42 if ($this->getOption('multiple')) trunk/lib/widget/sfWidgetFormTextarea.class.php
r5937 r5952 22 22 * @see sfWidgetForm 23 23 */ 24 function render($name, $value = null, $attributes = array(), $errors = array())24 public function render($name, $value = null, $attributes = array(), $errors = array()) 25 25 { 26 26 return $this->renderContentTag('textarea', self::escapeOnce($value), array_merge(array('name' => $name, 'cols' => 30, 'rows' => 4), $attributes)); trunk/lib/widget/sfWidgetFormTime.class.php
r5950 r5952 44 44 * @see sfWidgetForm 45 45 */ 46 function render($name, $value = null, $attributes = array(), $errors = array())46 public function render($name, $value = null, $attributes = array(), $errors = array()) 47 47 { 48 48 // convert value to a timestamp