/** * Constructor. * * @param sfWidgetFormSchema $widget A sfWidget instance * @param sfFormField $parent The sfFormField parent instance (null for the root widget) * @param string $name The field name * @param string $value The field value * @param sfValidatorError $error A sfValidatorError instance */ public function __construct(sfWidgetFormSchema $widget, sfFormField $parent = null, $name, $value, sfValidatorError $error = null) { parent::__construct($widget, $parent, $name, $value, $error); $this->fieldNames = $widget->getPositions(); }