Development

Changeset 6220

You must first sign up to be able to contribute.

Changeset 6220

Show
Ignore:
Timestamp:
11/30/07 01:16:04 (1 year ago)
Author:
dwhittle
Message:

dwhittle: fixed support for help in widgets

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/widget/sfWidgetFormSchema.class.php

    r6196 r6220  
    44 * This file is part of the symfony package. 
    55 * (c) Fabien Potencier <fabien.potencier@symfony-project.com> 
    6  *  
     6 * 
    77 * For the full copyright and license information, please view the LICENSE 
    88 * file that was distributed with this source code. 
     
    7171 
    7272    $this->labels = $labels; 
     73    $this->helps  = $helps; 
    7374 
    7475    $this->addOption('name_format', '%s'); 
  • trunk/lib/widget/sfWidgetFormSchemaDecorator.class.php

    r5937 r6220  
    44 * This file is part of the symfony package. 
    55 * (c) Fabien Potencier <fabien.potencier@symfony-project.com> 
    6  *  
     6 * 
    77 * For the full copyright and license information, please view the LICENSE 
    88 * file that was distributed with this source code. 
     
    4545    $this->options    = $widget->getOptions(); 
    4646    $this->labels     = $widget->getLabels(); 
     47    $this->helps      = $widget->getHelps(); 
    4748  } 
    4849 
     
    6263    $this->widget->setOptions($this->options); 
    6364    $this->widget->setLabels($this->labels); 
     65    $this->widget->setHelps($this->helps); 
    6466 
    6567    return strtr($this->decorator, array('%content%' => $this->widget->render($name, $values, $attributes, $errors))); 
  • trunk/lib/widget/sfWidgetFormSchemaFormatter.class.php

    r5995 r6220  
    44 * This file is part of the symfony package. 
    55 * (c) Fabien Potencier <fabien.potencier@symfony-project.com> 
    6  *  
     6 * 
    77 * For the full copyright and license information, please view the LICENSE 
    88 * file that was distributed with this source code.