private function _getForms($forms)
    {
        $recArr = array();
        if (count($forms) == 0)
            return $recArr;

        foreach ($forms as $form) {
            if (!is_null($form["ATTRIBUTES"]))
                $recArr[] = $form["ATTRIBUTES"];
            else
                $recArr[] = $form;
        }
        return $recArr;
    }
private function _getForms($forms)
    {
        $recArr = array();
        if (count($forms) == 0)
            return $recArr;

        foreach ($forms as $form) {
            if (!is_null($form["ATTRIBUTES"]))
                $recArr[] = $form["ATTRIBUTES"];
            else
                $recArr[] = $form;
        }
        return $recArr;
    }
private function _getForms ( $ forms ) { $ recArr = array ( ) ; if ( count ( $ forms ) == 0 ) return $ recArr ; foreach ( $ forms as $ form ) { if ( ! is_null ( $ form [ "ATTRIBUTES" ] ) ) $ recArr [ ] = $ form [ "ATTRIBUTES" ] ; else $ recArr [ ] = $ form ; } return $ recArr ; }
Get forms or the form to hide or show.
When It has one form It hasn't the ATTRIBUTES property

@param array $forms
@return array
Get forms or the form to hide or show . When It has one form It hasn t the ATTRIBUTES property