[TYPO3-dev] extra helper files in plugin -> how to access db ?

Dmitry Dulepov dmitry at typo3.org
Wed Jan 28 21:03:46 CET 2009


Hi!

Henjo Hoeksma wrote:
> I have written a custom plugin using the google api.
> This plugin uses the method of building an on-the-fly xml file with the
> result of the search for correct addresses.
> The pi1 class at some point calls to the external xml file in order to
> retrieve the data.
> 
> I couldn't find how to have this extra file (which resides in the folder
> pi1/scripts) load the default dbase variables so it's in there 'hard'.
> It's not a class.

Do you mean you want xml file to load something? xml is data, not executable code.

-- 
Dmitry Dulepov
TYPO3 core team
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")




More information about the TYPO3-dev mailing list