Bug #5826 [Asn]: Error in example code

From: Date: Thu, 17 Nov 2005 08:58:01 +0000
Subject: Bug #5826 [Asn]: Error in example code
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7168@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=5826&edit=1 ID: 5826 Updated by: fab@php.net Reported By: tobor at robotsrule dot com Status: Assigned Id: 5826 Type: Bug Package: Documentation Operating System: n/a PHP Version: Irrelevant Assigned To: fab New Comment: the $id parameter is optionnal (if not given, Cache_Lite uses the $id given in the get() method. Previous Comments: ------------------------------------------------------------------------ [2005-10-30 12:53:43] tobor at robotsrule dot com Description: ------------ The documentation for the Cache_Lite::save() function is incorrect. In the sample code box, the save() call is shown as: $cache->save($data); As you can see the $id parameter is missing from the save() call. URL for the affected page is here: http://pear.php.net/manual/en/package.caching.cache-lite.cache-lite.save.php ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=5826&edit=1

« previous php.pear.doc (#7168) next »