From: Benny M. <ben...@gm...> - 2009-07-02 08:28:34
|
The docs are now uploaded: http://www.gramps-project.org/docs So, you go to person: http://www.gramps-project.org/docs/gen/gen_lib.html#module-gen.lib.person And you see I made an error so that ldsordbase is not clickable :-) Sorry about that. If you do svn up, I fixed this, so locally you can see that class. In the class you will see the method: get_lds_ord_list()¶ Return the list of L{LdsOrd} instances associated with the object. Returns: Returns the list of L{LdsOrd} instances Return type: list So you obtain a list, and can iterate over it. Every item is an LdsOrd instance: http://www.gramps-project.org/docs/gen/gen_lib.html#module-gen.lib.ldsord where you see what methods you can call on that. If you need the sources, then you see LdsOrd derives from SourceBase, so you need to look there for the methods to see Sources. Benny 2009/7/1, Benny Malengier <ben...@gm...>: > 2009/7/1 Rob Healey <rob...@gm...>: >> Dear Jerome: >> >> I will certainly look into those files to see if I can find out how to >> access the data in lds and associations... Thanks for your help. I will >> let you know hoe it goes if I can find anything and if it returns any >> data... >> >> Everybody else: >> Do you know how to access the information saved in Associations and LDS >> tabs? > > Nick did not yet upload the api doc as far as I know, but you can make > it yourself. Go into the trunk/docs directory and read the README, > install what is needed, then go to docs directory and do > > make html > > Now the api doc will be build, with all the functions in gen/lib. Then > you can read what functions are available, and you will see eg person > derives from ldsbase, .... . You can then click on these base objects > to see the methods available to access this data. > > Benny > |