note 32785 deleted from function.pdf-add-bookmark by didou

From: Date: Fri, 08 Aug 2003 22:54:15 +0000
Subject: note 32785 deleted from function.pdf-add-bookmark by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53712@lists.php.net to get a copy of this message
Note Submitter: hackfrag@ff-scene.de ---- function add_bookmark($pdf,$bookmark) { foreach ($bookmark as $key=>$value) { $mark = pdf_add_bookmark($pdf, $key); foreach ($bookmark[$key] as $sub) { pdf_add_bookmark($pdf, $sub, $mark); } } } $bookmark=array("main" =>array("test","test2","test3","test4","test5"), "other"=>array("test","test2") ); add_bookmark($pdf,$bookmark);

« previous php.notes (#53712) next »