protected function _formSpecialTreatments($isInside = false) { $specialTreatments = $isInside ? $this->_map['specialInsideTreatments'] : $this->_map['specialTreatments']; foreach ($specialTreatments as $propName => $treatmentClassName) { if ($this->_container->IsValueSet($propName) && class_exists($treatmentClassName)) { $elements = $this->_container->GetValue($propName); $treatment = new $treatmentClassName(); foreach ($elements as $container) { $treatment->SetContainer($container); if ($treatment->Form()) { $this->_value .= $treatment->GetValue(); } } } } }