CakePHP 2.0 Compatible Behavior
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Model/Behavior
Test
readme.mdown

readme.mdown

CakePHP 2.0 Sluggable Behavior

CakePHP 2.0 Compatible version based largely on Mariano Iglesias' original Sluggable Behavior

Installation

Copy the plugin to app/Plugin/

Usage

Use inside your model

public  $actsAs = array('Sluggable.Sluggable' => array(
    'label'=>'name',
    'slug'=>'slug',
    'separator'=>'-',
    'overwrite'=>true   
));

Tests

Test Cases are largely untouch and have not been rewritten to for CakePHP 2.0