Factory/JsFormValidatorFactory.php
protected function processChildren($form)
    {
        $result = array();
        // If this field has children - process them
        foreach ($form as $name => $child) {
            if ($this->isProcessableElement($child)) {
                $childModel = $this->createJsModel($child);
                if (null !== $childModel) {
                    $result[$name] = $childModel;
                }
            }
        }

        return $result;
    }
protected function processChildren($form)
    {
        $result = array();
        // If this field has children - process them
        foreach ($form as $name => $child) {
            if ($this->isProcessableElement($child)) {
                $childModel = $this->createJsModel($child);
                if (null !== $childModel) {
                    $result[$name] = $childModel;
                }
            }
        }

        return $result;
    }
protected function processChildren ( $ form ) { $ result = array ( ) ; // If this field has children - process them foreach ( $ form as $ name => $ child ) { if ( $ this -> isProcessableElement ( $ child ) ) { $ childModel = $ this -> createJsModel ( $ child ) ; if ( null !== $ childModel ) { $ result [ $ name ] = $ childModel ; } } } return $ result ; }
Create the JsFormElement for all the children of specified element

@param null|Form $form

@return array
Create the JsFormElement for all the children of specified element