Creating a new PHPExcel Object.
$this->PHPExcel = new PHPExcel();
Creating a new sheet:
| /// <reference path="../../library.test.d.ts"/> | |
| import * as angular from "angular"; angular; | |
| import * as mocks from "angular-mocks/ngMock"; mocks; | |
| describe('feat(localStorage Mock): ', function() { | |
| beforeAll(() => { | |
| angular.module('mock-module',[]) | |
| }); |
| function logClass(target: any) { | |
| // save a reference to the original constructor | |
| var original = target; | |
| // a utility function to generate instances of a class | |
| function construct(constructor, args) { | |
| var c : any = function () { | |
| return constructor.apply(this, args); | |
| } |
| [Presets] | |
| Preset0=Classical | |
| Preset1=Club | |
| Preset2=Dance | |
| Preset3=Flat | |
| Preset4=Live | |
| Preset5=Laptop Speakers/Headphone | |
| Preset6=Rock | |
| Preset7=Pop |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
| if(typeof(window.console) === 'undefined') { | |
| window.console = { | |
| log: function() {} | |
| }; | |
| } |
| <?php | |
| class RbacCommand extends CConsoleCommand | |
| { | |
| private $_authManager; | |
| public function getHelp() | |
| { | |
| <?php | |
| require_once "error.php"; | |
| class Oracle { | |
| private $connection; | |
| private $connected; | |
| function __construct($connectionString, $username, $password) { | |
| global $err; |
| /* | |
| * object.watch polyfill | |
| * | |
| * 2012-04-03 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public Domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ |