Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.3

Request #9267 Additions
Submitted: 2006-11-08 07:47 UTC Modified: 2006-12-17 10:57 UTC
From: pepe dot biondi at gmail dot com Assigned: yunosh
Status: Closed Package: File_PDF (version 0.1.0)
PHP Version: 4.3.10 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2006-11-08 07:47 UTC] pepe dot biondi at gmail dot com (N)
Description: ------------ The methods below I added to my File_PDF class. This package is EXCELENT, thanks a lot, the only thing missing is these kind of methods, who brings the package to low skill programmers. New methods to File_PDF class: /** * Returns actual page width * @author nbezi * @return float Page Width */ function getPageWidth() { return ($this->w - $this->_right_margin - $this->_left_margin); } /** * Returns actual page height * @author nbezi * @return float Page height */ function getPageHeight() { return ($this->h - $this->_top_margin - $this->_break_margin); }

Comments

 [2006-12-11 02:43 UTC] yunosh (Jan Schneider)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Thanks for the patch! If you want yourself to be added as the method author, please tell us your complete name.