public function setup() { parent::setup(); unset($this['is_column'], $this['render_function'], $this['name'], $this['content_list']); sfSympalFormToolkit::changeContentSlotTypeWidget($this); $this->setupValueField(); }
public function doSave($con = null) { parent::doSave($con); /* * If this is a column slot, then the value was actually set on the * content record, meaning that we need to save that record */ if ($this->getObject()->is_column) { $this->getObject()->getContentRenderedFor()->save($con); } }