Re: Re: DataObject_FormBuilder bug?

From: Date: Wed, 20 Oct 2004 16:22:23 +0000
Subject: Re: Re: DataObject_FormBuilder bug?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15004@lists.php.net to get a copy of this message
On Tue, 19 Oct 2004 09:55:23 +0200, Alexander Petri <alex.petri@gmx.de> wrote: > I also got such problems if i tried first... > first i guessed that DataObjects generates the *.links.ini file by himself > it doesnt, but the api documentation suggested it to me... > look: > > http://pear.php.net/manual/en/package.database.db-dataobject.intro-relations.php°ô3ô > Š£ÞTºVŸÏ„Z > ::: > " DB_DataObject Version 0.3 introduced the ability to create link ini files > so you can map rows to other database columns using an ini file this ini > file should have the name 'databasename.links.ini', and be placed in the > same folder as the database schema ini file 'databasename.ini' file that is > created automatically by createTables.php " > It doesn't say it makes the file for you. Well, it sorta sounds like it, but it doesn't. > next problem was to name the > the methods in the DO classes from "function()" to "fb_function()" and some > not (preGenerateForm()) > same with the vars... > there's nowhere any line of documentation which says that. Yes, there is. First place to look is the PEAR docs. The docs for FB have a link: "For now, detailed documentation is available here" which links to the docs (http://opensource.21st.de/tiki-index.php?page=DB_DataObject_FormBuilder) that I've painstakingly put together for *every* configuration option and on all the different ways to configure FB. In addition, there are some docs in the source code (API docs), but you have to look real hard for them. > > thats why i had a lot of try and error problems to solve > anyway.... now prototyping is really faster for me... > -- paperCrane --Justin Patrin--

« previous php.pear.general (#15004) next »