Development

Changeset 8696

You must first sign up to be able to contribute.

Changeset 8696

Show
Ignore:
Timestamp:
04/30/08 18:25:32 (5 months ago)
Author:
fabien
Message:

added HTML attributes argument to sfForm::render()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/form/sfForm.class.php

    r8408 r8696  
    9999   * Renders the widget schema associated with this form. 
    100100   * 
     101   * @param  array  An array of HTML attributes 
     102   * 
    101103   * @return string The rendered widget schema 
    102104   */ 
    103   public function render(
    104   { 
    105     return $this->getFormField()->render(); 
     105  public function render($attributes = array()
     106  { 
     107    return $this->getFormField()->render($attributes); 
    106108  } 
    107109