/** * Adds a data edit control to the aggregated edit controls * * @param DataEditControl $o_control */ public function AddControl($o_control) { if (!$o_control instanceof DataEditControl) { return; } $o_control->SetNamingPrefix($o_control->GetDataObjectClass() . $o_control->GetDataObject()->GetId()); $o_control->SetShowValidationErrors(false); $this->a_controls_to_render[] = $o_control; }