Location: PHPKode > scripts > Crutch Cache > crutch-cache/example.php
<?php

include('CrutchCache.php');

// Instance
$example = new CrutchCache('storage', '.');

var_dump($example);


// new variables
$example->from =  'Lawondyss';
$example->name = 'Memtext';
$example->blog = 'lawondyss.posterous.com';
$example->url = NULL;

var_dump($example->all());


// delete one variable
$example->delete('url');

var_dump($example->all());


// delete all variables
$example->delete();

var_dump($example->all());

Return current item: Crutch Cache