thoroc / php_writeexcel Goto Github PK
View Code? Open in Web Editor NEWJohann Hanne's php lib to write excel file
Johann Hanne's php lib to write excel file
Composer errors since the directory does not have a composer.json
Got this error:
PHP Fatal error: Cannot declare class writeexcel_worksheet, because the name is already in use in {truncated}/vendor/thoroc/php_writeexcel/src/class.writeexcel_worksheet.inc.php on line 3029
Went fine after removing requires in class.writeexcel_workbook.inc.php
PHP info:
PHP 7.0.14-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.14-1~dotdeb+8.1, Copyright (c) 1999-2016, by Zend Technologies
For php v7 compatibility it is needed to get rid of php v4-style constructors. ie.
replace
public function writeexcel_worksheet(...
with
public function __construct(...
And appropriate calls, ie:
replace
$this->writeexcel_biffwriter();
with
parent::__construct();
Thank you
I am trying to protect worksheet, But when i use protect method the Sheet is not getting protected. Can any body help me to get out of it?
Thanks
Looking for input regarding php code standard. I am planning to use: https://github.com/FriendsOfPhp/PHP-CS-Fixer for this.
$_index
property in writeexcel_worksheet class must be declared public, not protected, otherwise writeexcel_workbook->_store_names() fails on
$worksheet->_index
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.