Forums | Mahara Community

Developers /
Books and certifications


anonymous profile picture
Deleted user
Posts: 10

10 November 2009, 10:39 AM

Hi

i try to make a script to add multiple books from a list and i would like call the function used in "My Resume"  but  i don't understand how the record is made.

Witch function can i use?

 

Thanks

Maxime

anonymous profile picture
Deleted user
Posts: 228

10 November 2009, 11:24 AM

Hi Maxime,

All artefacts in Mahara are created using subclasses of the Artefact class.  In the case of the book, it's in artefact/resume/lib.php , in the ArtefactTypeBook class.  You may need to walk the class hierarchy to understand it.

However, there's code you can copy in the LEAP2A import in Mahara 1.2.  It's in artefact/resume/import/leap/lib.php, around line 313 or so.

HTH,

Penny

anonymous profile picture
Deleted user
Posts: 10

12 November 2009, 4:56 AM

Thanks it's perfect

Maxime

3 results