Skip to content

Instantly share code, notes, and snippets.

@anthonyshort
Created August 18, 2010 08:43
Show Gist options
  • Save anthonyshort/534051 to your computer and use it in GitHub Desktop.
Save anthonyshort/534051 to your computer and use it in GitHub Desktop.
<?php
/**
* Scaffold_Extension_Template
*
* Make a copy of this file and directory for your own extensions
*
* @package Scaffold
* @author Anthony Short <anthonyshort@me.com>
* @copyright 2009-2010 Anthony Short. All rights reserved.
* @license http://opensource.org/licenses/bsd-license.php New BSD License
* @link https://github.com/anthonyshort/csscaffold/master
*/
class Scaffold_Extension_Template extends Scaffold_Extension
{
/**
* Default settings which are used if the configuration
* settings from the file aren't set.
* @var array
*/
public $_defaults = array();
// =========================================
// = Scaffold Hooks [Not all are required] =
// =========================================
/**
* @access public
* @param $source
* @return string
*/
public function initialize($source,$scaffold)
{
}
/**
* @access public
* @param $source
* @return string
*/
public function pre_format($source,$scaffold)
{
}
/**
* @access public
* @param $source
* @return string
*/
public function pre_process($source,$scaffold)
{
}
/**
* @access public
* @param $source
* @return string
*/
public function process($source,$scaffold)
{
}
/**
* @access public
* @param $source
* @return string
*/
public function post_process($source,$scaffold)
{
}
/**
* @access public
* @param $source
* @return string
*/
public function post_format($source,$scaffold)
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment