BaseEventTypeController::renderChildOptionalElements PHP Method

renderChildOptionalElements() public method

Render the optional child elements for the given parent element type.
public renderChildOptionalElements ( BaseEventTypeElement $parent_element, string $action, BaseCActiveBaseEventTypeCActiveForm $form = null, array $data = null )
$parent_element BaseEventTypeElement
$action string
$form BaseCActiveBaseEventTypeCActiveForm
$data array
    public function renderChildOptionalElements($parent_element, $action, $form = null, $data = null)
    {
        foreach ($this->getChildOptionalElements($parent_element->getElementType()) as $element) {
            $this->renderOptionalElement($element, $action, $form, $data);
        }
    }
BaseEventTypeController