Archive_Tar suggestion

From: Date: Tue, 05 Aug 2003 13:55:54 +0000
Subject: Archive_Tar suggestion
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19293@lists.php.net to get a copy of this message
I've found that it's a little bit difficult to get the error returned from the method of the class. I would suggest that at least a method for retrieving it would be nice. For example: $tar = new Archive_Tar($file); $contents = $tar->listContent(); if (!$contents) { // method failed die($tar->getLastError()); // or something so } I guess that just adding a $this->lastError() in _error() and a public method getLastError() could be enough. -- Tomas V.V.Cox mailto:cox@idecnet.com

« previous php.pear.dev (#19293) next »