public function loadInlineFields($parentKey)
    {
        $json = $this->load();
        $inlineFields = array();
        foreach ($json as $table) {
            if ($table["tca"]) {
                foreach ($table["tca"] as $key => $tca) {
                    if ($tca["inlineParent"] == $parentKey) {
                        if ($tca["config"]["type"] == "inline") {
                            $tca["inlineFields"] = $this->loadInlineFields($key);
                        }
                        $tca["maskKey"] = "tx_mask_" . $tca["key"];
                        $inlineFields[] = $tca;
                    }
                }
            }
        }
        return $inlineFields;
    }
public function loadInlineFields($parentKey)
    {
        $json = $this->load();
        $inlineFields = array();
        foreach ($json as $table) {
            if ($table["tca"]) {
                foreach ($table["tca"] as $key => $tca) {
                    if ($tca["inlineParent"] == $parentKey) {
                        if ($tca["config"]["type"] == "inline") {
                            $tca["inlineFields"] = $this->loadInlineFields($key);
                        }
                        $tca["maskKey"] = "tx_mask_" . $tca["key"];
                        $inlineFields[] = $tca;
                    }
                }
            }
        }
        return $inlineFields;
    }
public function loadInlineFields ( $ parentKey ) { $ json = $ this -> load ( ) ; $ inlineFields = array ( ) ; foreach ( $ json as $ table ) { if ( $ table [ "tca" ] ) { foreach ( $ table [ "tca" ] as $ key => $ tca ) { if ( $ tca [ "inlineParent" ] == $ parentKey ) { if ( $ tca [ "config" ] [ "type" ] == "inline" ) { $ tca [ "inlineFields" ] = $ this -> loadInlineFields ( $ key ) ; } $ tca [ "maskKey" ] = "tx_mask_" . $ tca [ "key" ] ; $ inlineFields [ ] = $ tca ; } } } } return $ inlineFields ; }
Loads all the inline fields of an inline-field, recursively!

@param string $parentKey key of the inline-field
@author Benjamin Butschell <bb@webprofil.at>
@return array
Loads all the inline fields of an inline - field recursively!