Skip to content

Instantly share code, notes, and snippets.

@ann71727
ann71727 / Prototype.class.js
Created October 14, 2019 16:16 — forked from jmcorpdev/Prototype.class.js
Js prototype with jquery plugin integration
/**
*
*/
(function ($) {
PluginName = function () {
this.init.apply(this, arguments);
};
@ann71727
ann71727 / PHPExcel_Basics.md
Created August 3, 2019 09:11 — forked from yajra/PHPExcel_Basics.md
PHPExcel Notes and code snippets

Basics

Creating a new PHPExcel Object.

    $this->PHPExcel = new PHPExcel();

Working with sheets

Creating a new sheet:

@ann71727
ann71727 / phpexcel applyfromarray.php
Last active August 3, 2019 09:36 — forked from codeachange/phpexcel applyfromarray.php
phpexcel 批量修改样式 applyFromArray 数组规则
<?php
/*** PHPExcel Object ***/
/* Get the default Style object */
(PHPExcel_Style) $style = ((PHPExcel) $excel)->getDefaultStyle()
/*** PHPExcel_Cell Object ***/
/* Get the Style object for a Cell */