Creating a new PHPExcel Object.
$this->PHPExcel = new PHPExcel();
Creating a new sheet:
| <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
| <script> | |
| function currentPageFormatter(event) { | |
| var formattedStr; | |
| if (event.indexh === 0) { | |
| return ""; | |
| } | |
| formattedStr = event.indexh; |
| <?php | |
| /** | |
| * Alle kaputten Umlaute reparieren bei Umstellung von ISO->UTF8 | |
| * Source: http://xhtmlforum.de/66480-kleines-skript-alle-umlaute-der-datenbank.html | |
| * | |
| * @project - | |
| * @author Boris Bojic <[email protected]> | |
| * @copyright Copyright (c) 2011, Boris Bojic (DevShack) | |
| * @version Fri, 23 Dec 2011 13:47:11 +0100 | |
| * @updated - |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| #!/bin/bash | |
| for file in `find .` | |
| do | |
| EXTENSION="${file##*.}" | |
| if [ "$EXTENSION" == "php" ] || [ "$EXTENSION" == "phtml" ] | |
| then | |
| RESULTS=`php -l $file` |
| /** | |
| * Add the field to the checkout | |
| **/ | |
| add_action('woocommerce_after_order_notes', 'my_custom_checkout_field'); | |
| function my_custom_checkout_field( $checkout ) { | |
| echo '<div id="my_custom_checkout_field"><h3>'.__('My Field').'</h3>'; | |
| /** |