Login   Register  
PHP Classes
elePHPant
Icontem

File: setup.markdown

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of David Boskovic  >  miXin  >  setup.markdown  >  Download  
File: setup.markdown
Role: Documentation
Content type: text/plain
Description: Documentation
Class: miXin
Extend classes by using several mixin classes
Author: By
Last change:
Date: 2011-08-12 12:57
Size: 679 bytes
 

Contents

Class file image Download
Setup Mixin
===

### Permissions
* Make [./stackindex.cache] writable.
* Make the folder [./stacks] writable.

### Configuration

In mixin.php find and modify the following code.
	
	/**
	 * Configuration Options
	 *
	 * @var array
	 **/
	public static $options = array(
		'base_path' 					=> false,
		'stack_location' 				=> './stacks',
	);

**base\_path** is the path on top of which you will include your classes, 
false will load files relative to the mixin.php file location.

**stack\_location** is the folder location that you want to save the stacks that have been built.

### Testing

Load up test.php in a browser and play around with the classes to see how things work!