Skip to content

Instantly share code, notes, and snippets.

@amereservant
amereservant / tc.framwork.base.php
Created October 12, 2011 17:36
WordPress Options Framework
<?php
/**
* TC Framework Base
*
* This is an abstract class that creates a standard base for all TC projects.
*
* All options are stored under two WordPress options, one for the standard options
* and another for the multisite options (if the theme/plugin has need for these).
*
* @author Amereservant <[email protected]>
@amereservant
amereservant / googlefusionapi.php
Created October 12, 2011 04:22
PHP Google Fusion API
<?php
/**
* Google Fusion Tables API
*
* These are PHP5 classes used to interact with the Google Fusion Tables API.
* The googleBase class provides an authentication class that any classes interacting
* with the Google API will need. It should be extended by a service-specific class
* that makes all of the calls to this class.
*
* The googleFusion class provides a public 'query()' method, allowing for SQL queries